secure-password
Safe password hashing with thread-local storage. Rust adaptation of emilbayes/secure-password.
Security Disclaimer
Installation
$ cargo add secure-password
Usage
extern crate secure_password;
let pass = b"hello world";
let hash = secure_password::hash(pass).unwrap();
let is_ok = secure_password::verify(pass, &hash).unwrap();
assert!(is_ok);