rust-crypto icon indicating copy to clipboard operation
rust-crypto copied to clipboard

Provide Argon2

Open Gankra opened this issue 8 years ago • 9 comments

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

Gankra avatar Nov 02 '15 18:11 Gankra

:+1:

boazsegev avatar Dec 02 '15 04:12 boazsegev

:+1:

boogerlad avatar Jan 08 '16 19:01 boogerlad

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

rozbb avatar Jan 21 '16 07:01 rozbb

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.

rozbb avatar Jan 31 '16 05:01 rozbb

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

Gankra avatar Feb 05 '16 03:02 Gankra

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

rozbb avatar Feb 12 '16 03:02 rozbb

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.

mirandadam avatar May 25 '16 19:05 mirandadam

Pull request #347 fixes this.

vks avatar Aug 16 '16 11:08 vks

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!

bryant avatar Feb 15 '17 17:02 bryant