Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ext/node): add crypto.sign|verify methods #18765

Merged
merged 3 commits into from
Apr 19, 2023

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Apr 19, 2023

This PR adds crypto.sign and crypto.verify methods. (These are shorthands of createSign().update().sign() or createVerify().update().verify())

This PR also changes the Sign and Verify class callable with/without new operator. (This behavior will be necessary when we enable test/parallel/test-crypto-sign-verify.js)

part of #18455

Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to me too

@kt3k kt3k merged commit fdebb7e into denoland:main Apr 19, 2023
@kt3k kt3k deleted the node-crypto-sign-verify branch April 19, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants