secure-password 0.1.0

Safe password hashing
Documentation

secure-password

crates.io version build status downloads docs.rs docs

Safe password hashing with thread-local storage.

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(&hash, &pass).unwrap();
assert!(is_ok);

See Also

License

Apache-2.0