pub fn hash_with_result<P: AsRef<[u8]>>( password: P, cost: u32, ) -> BcryptResult<HashParts>
Like hash, but returns the parsed parts rather than the string.
hash
Same as hash.