I'm writing a web application that will use Argon2 for user passwords, but I don't know which crate to use, I decide primarily between argon2 and rust-argon2. Argon2 seems to have more active support, rust-argon2 is much more used. Which one should I use?
This is the basic strategy I use for such situations:
- Browse the project's PR's and see if there are any immediate warning flags.
- (If applicable) sync vs async support
- Check my other dependencies; is one preferred among them?
- If none of the first steps yield a definite answer, I look at the crates' API's and see if there's one I prefer.
If all else fails, just flip a coin -- you can always change later if you discover you made the wrong choice.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.