crypto / 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 - The hash.

password - The password to verify.

Return
true if the password matches the hash.