verifyAsync

suspend fun verifyAsync(input: String, expected: ByteArray): Boolean

Verifies an input asynchronously to match the expected hash with the bcrypt algorithm.

Parameters

input

the input from the user etc.

expected

the expected byte array stored in the database etc.