[−][src]Function bcrypt_only::bcrypt
pub fn bcrypt(
key: &[u8],
salt: &Salt,
work_factor: WorkFactor
) -> Result<[u8; 23], BcryptError>
Hashes a key and salt with bcrypt according to a work factor. The key can’t be longer than 72 bytes and can’t contain a 0 byte.