Function bcrypt_bsd::gen_salt
[−]
[src]
pub fn gen_salt(cost: u8) -> Result<[u8; 30], CryptError>
Generate salt for a BCrypt hash.
pub fn gen_salt(cost: u8) -> Result<[u8; 30], CryptError>
Generate salt for a BCrypt hash.