rust-crypto
rust-crypto copied to clipboard
Provide Argon2
Argon2 claims to be the state-of-the-art in hard-to-brute-force hashing, basically trying to tackle the same problems as scrypt. The reference impl is in C, we should definitely have a Rust one!
- repo: https://github.com/P-H-C/phc-winner-argon2
- white paper: https://github.com/P-H-C/phc-winner-argon2/blob/master/argon2-specs.pdf
:+1:
:+1:
Currently working on this. Not sure how long it'll take, though.
Update: I've written 99% of the code, but I have yet to start testing. That may take a while. Also it will be far slower than the optimized C implementation for obvious reasons.
This is a thing: https://github.com/bryant/argon2rs
This looks really good. I suggest we adopt the above implementation over mine.
That implementation is licensed only under MIT. Is that acceptable? Maybe a more senior contributor to this project can get in touch with bryant about changing the license if necessary.
Pull request #347 fixes this.
That implementation is licensed only under MIT. Is that acceptable? Maybe a more senior contributor to this project can get in touch with bryant about changing the license if necessary.
In what ways would MIT be unacceptable? Could you open an issue in https://github.com/bryant/argon2rs for this? Thanks!