inejge / pwhash

A collection of password hashing routines in pure Rust
MIT License
61 stars 11 forks source link

Argon2 Support #10

Closed NAThompson closed 5 years ago

NAThompson commented 5 years ago

Is implementation of Argon2 on the roadmap for this repo?

inejge commented 5 years ago

Not presently, since I'm satisfied to limit the scope of the library to the set of algorithms used by common Unixish crypt(3) implementations. Newer hashes (scrypt, PBKDF2, Argon2) haven't been assigned distinct algorithm numbers which they'd need to conform to crypt(3) conventions, nor do they have agreed-upon parameter representation for salt strings. Your best bet is to use a dedicated hashing crate such as argon2rs.

NAThompson commented 5 years ago

Cool, thanks!