Skip to content

verify_password

In std/crypto.

fn verify_password(self: String, hash: String) : Bool

Whether self is the password hash was made from, under the hash's own parameters. hash is a PHC string of Argon2id, Argon2i or Argon2d; any other is an evaluation error naming its algorithm identifier.