-
Notifications
You must be signed in to change notification settings - Fork 83
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: use salsa20 crate? #29
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
salsa20
v0.5.0 crate now contains an implementation of Salsa20/8:https://docs.rs/salsa20/latest/salsa20/type.Salsa8.html
I noticed the
scrypt
crate presently vendors its own. I'm not sure the APIs in thesalsa20
crate are sufficient to implementscrypt
with it yet (it appears to require direct access to the Salsa core function?) but I think it might be interesting to try migrating it, especially if we were ever to add SIMD optimizations to thesalsa20
crate (see RustCrypto/stream-ciphers#50).We could potentially add a
salsa-core
cargo feature to thesalsa20
crate to expose the core function.The text was updated successfully, but these errors were encountered: