pub fn non_truncating_hash_with_salt_bytes<P: AsRef<[u8]>>(
password: P,
cost: u32,
salt: [u8; 16],
) -> BcryptResult<[u8; 60]>Expand description
Generates a password given a hash and a cost, returning a fixed-size stack buffer. The returned buffer is always exactly 60 bytes of valid UTF-8 (version 2b format). Will return BcryptError::Truncation if password is longer than 72 bytes