hash_raw

Function hash_raw 

Source
pub async fn hash_raw(password: impl AsRef<[u8]>) -> Result<Vec<u8>>
Expand description

Hash this password with the given config. Return the hashed password as a raw bytes vector.

ยงErrors

This function errors if any of the following happen:

  • the given config is invalid
  • hashing the password fails
  • communication between threads fails