checkpw

open fun checkpw(plaintext: String, hashed: String): Boolean

Check that a plaintext password matches a previously hashed one

Return

true if the passwords match, false otherwise

Parameters

plaintext

the plaintext password to verify

hashed

the previously-hashed password