Function hash

Source
pub fn hash(password: &str, work_factor: WorkFactor) -> Result<Hash, HashError>
Expand description

Creates a new password hash.