Function hash

Source
pub fn hash(password: &str, salt: &[u8]) -> Result<[u8; 61], CryptError>
Expand description

Compute BCrypt hash from a password and salt.