A pure Rust implementation of the bcrypt_pbkdf
password hashing algorithm.
It is mostly based on the work done in rust-crypto. As such, this library is tested with all test vectors provided in rust-crypto.
bcrypt_pbkdf
requires Rust nightly.
This library has at no point received any formal cryptographic/security audit. It should be used at own risk.
extern crate bcrypt_pbkdf;
let password = "password".as_bytes();
let salt = "salt".as_bytes();
let mut out = [0u8; 64];
bcrypt_pbkdf::bcrypt_pbkdf(password, salt, 100, &mut out);
bcrypt-pbkdf
is licensed under the MIT license. See the LICENSE
file for more information.