Function pwhash::unix::crypt [] [src]

pub fn crypt<B: AsRef<[u8]>>(pass: B, hash: &str) -> Result<String>

A Unix crypt(3) work-alike.