security.BCrypt.CheckPassword
Checks the hash password.
Syntax
security.BCrypt.CheckPassword(
password STRING,
hashedPass STRING )
RETURNS INTEGER
- password defines the password to hash. The password is limited to 72 bytes.
- hashedPass defines the hash password created by the
HassPasswordmethod.
Usage
The method returns TRUE, the hashed password is valid.
In case of error, the method throws an exception and sets the
status variable. Depending on the error, a human-readable description of the
problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (STATUS).
For an example using BCrypt methods, see Example: Using security.BCrypt methods.