bryant / argon2rs

The pure-Rust password hashing library running on Argon2.
MIT License
174 stars 19 forks source link

Update to `ARGON_VERSION_13` (version 19). #4

Closed bryant closed 6 years ago

bryant commented 7 years ago
chpio commented 7 years ago

the current version (0x10?) and this version are incompatible, i guess?! What could be done to make them compatible/update hashes from the older one to the newer?

Im using the Verifier to verify user passwords, so i would update the hash (the result of Verifier::to_u8) on logins. But how can i install two versions of this crate, so i can check old hashes with the old version but also generate new hashes with the newer version?

chpio commented 7 years ago

Using this suggestion: https://users.rust-lang.org/t/installing-the-same-crate-multiple-times-with-different-versions/7026/4 there would be no need for "keeping the older implementation". There would be a proxy crate with would reexport Argon2 as argon2v0x13 and argon2v0x19 (or something else :))

markuskobler commented 7 years ago

Whats the plan with supporting Version 0x13 it looks like it was merged and then removed from the repo?