Skip to main content

hash_with_result

Function hash_with_result 

Source
pub fn hash_with_result<P: AsRef<[u8]>>(
    password: P,
    cost: u32,
) -> BcryptResult<HashParts>
Expand description

Like hash, but returns the parsed parts rather than the string.

ยงErrors

Same as hash.