Function sodiumoxide::crypto::pwhash::scryptsalsa208sha256::pwhash_verify [] [src]

pub fn pwhash_verify(HashedPassword: &HashedPassword, passwd: &[u8]) -> bool

pwhash_verify() verifies that the password str_ is a valid password verification string (as generated by pwhash()) for passwd

It returns true if the verification succeeds, and false on error.