mini-rcrypt
: A minimal Rust implementation of OpenBSD Blowfish password hashing code.```rust use mini_rcrypt::BCrypt;
let salt = BCrypt::gensalt(5).unwrap(); let hash = BCrypt::hashpw("test".toowned(), salt).unwrap(); let check = BCrypt::checkpw("test".toowned(), hash);
assert!(check); ```