Function libpasta::verify_password_update_hash [] [src]

pub fn verify_password_update_hash(hash: &mut String, password: String) -> bool

Verifies a supplied password against a previously computed password hash, and performs an in-place update of the hash value if the password verifies. Hence this needs to take a mutable String reference.