verify

expect fun verify(input: String, expected: ByteArray): Boolean

Verifies an input 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.

actual fun verify(input: String, expected: ByteArray): Boolean

Verifies an input 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.

actual fun verify(input: String, expected: ByteArray): Boolean