hashpw

open fun hashpw(password: String, salt: String): String

Hash a password using the OpenBSD bcrypt scheme

Return

the hashed password

Parameters

password

the password to hash

salt

the salt to hash with (perhaps generated using BCrypt.gensalt)