secure-password

crates.io version build status downloads docs.rs docs

Safe password hashing with thread-local storage.

Installation

sh $ cargo add secure-password

Usage

```rust extern crate secure_password;

let pass = b"hello world"; let hash = securepassword::hash(&pass).unwrap(); let isok = securepassword::verify(&hash, &pass).unwrap(); assert!(isok); ```

See Also

License

Apache-2.0