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

scrypt: password-hash is a bit annoying #138

Closed
lnicola opened this issue Feb 20, 2021 · 1 comment · Fixed by #139
Closed

scrypt: password-hash is a bit annoying #138

lnicola opened this issue Feb 20, 2021 · 1 comment · Fixed by #139

Comments

@lnicola
Copy link

lnicola commented Feb 20, 2021

The example in https://docs.rs/scrypt/0.6.2/scrypt/ doesn't work because the password_hash dependency is missing the rand_core feature. Users need to add password-hash as a dependency and enable that feature.

It's enabled in the dev-dependencies, which is why cargo doesn't complain.

@tarcieri
Copy link
Member

Sorry, there was a similar issue in pbkdf2 (#130). Let me get that taken care of.

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 a pull request may close this issue.

2 participants