Skip to main content

hash_with_salt_bytes

Function hash_with_salt_bytes 

Source
pub fn hash_with_salt_bytes<P: AsRef<[u8]>>(
    password: P,
    cost: u32,
    salt: [u8; 16],
) -> BcryptResult<[u8; 60]>
Expand description

Like hash_with_salt, but returns the 60-byte hash string as stack bytes.

ยงErrors

Same as hash_with_salt.