DaGenix / rust-crypto

A (mostly) pure-Rust implementation of various cryptographic algorithms.
Apache License 2.0
1.38k stars 296 forks source link

Provide Argon2 #329

Open Gankra opened 8 years ago

Gankra commented 8 years ago

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!

boazsegev commented 8 years ago

:+1:

boogerlad commented 8 years ago

:+1:

rozbb commented 8 years ago

Currently working on this. Not sure how long it'll take, though.

rozbb commented 8 years ago

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.

Gankra commented 8 years ago

This is a thing: https://github.com/bryant/argon2rs

rozbb commented 8 years ago

This looks really good. I suggest we adopt the above implementation over mine.

mirandadam commented 8 years ago

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.

vks commented 7 years ago

Pull request #347 fixes this.

bryant commented 7 years ago

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!