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

feat(node/crypto): add scrypt and scryptSync #1329

Merged
merged 12 commits into from
Oct 2, 2021
Merged

feat(node/crypto): add scrypt and scryptSync #1329

merged 12 commits into from
Oct 2, 2021

Conversation

talentlessguy
Copy link
Contributor

Implementation borrowed from https://github.com/crypto-browserify/scrypt

  • I have added tests
  • I have run deno fmt and deno lint

@bartlomieju
Copy link
Member

Implementation borrowed from https://github.com/crypto-browserify/scrypt

There should be relevant copyrights included in the source.

@talentlessguy
Copy link
Contributor Author

@bartlomieju ok one sec will add a license comment

@talentlessguy
Copy link
Contributor Author

done, @bartlomieju

@bartlomieju bartlomieju requested a review from kt3k October 1, 2021 09:40
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

LGTM with nits. Nice work! @talentlessguy

Also confirmed the test cases match with Node.js results.

@@ -0,0 +1,179 @@
import { scrypt, scryptSync } from "./scrypt.ts";
Copy link
Member

Choose a reason for hiding this comment

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

nit: This file needs copyright header

// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.

Copy link
Member

Choose a reason for hiding this comment

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

Let's address this in another PR as we already have many files missing copyright headers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok no problem

and thanks for merging!

deno_std/node/crypto is getting closer to node.js :D

@kt3k kt3k merged commit 01adc2b into denoland:main Oct 2, 2021
@talentlessguy talentlessguy deleted the feat-std-node-crypto-scrypt branch October 2, 2021 14:38
traceypooh pushed a commit to traceypooh/deno_std that referenced this pull request Nov 14, 2021
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.

3 participants