Public Function BCrypt_HashPassword(ByVal Password As String, Optional ByVal Log2Rounds As Long = 0) As String
Hashes a password with the BCrypt algorithm with the specified Rounds. Returns a 60 char string that can be used to check the password using the BCrypt_CheckPassword function. Note: This function is slow by-design to prevent brute force attacks.
Public Function SetNewPassword(pPassword)
pContext.DataSet("PasswordHash") = BCrypt_HashPassword(pPassword)
End Function