tuweni / org.apache.tuweni.crypto.sodium / PasswordHash / verify

verify

static fun verify(hash: String!, password: String!): Boolean (source)

Verify a password against a hash.

Parameters

hash - String!: The hash.

password - String!: The password to verify.

Return
Boolean: true if the password matches the hash.