security.BCrypt methods

Methods of the security.BCrypt class.

Table 1. Class methods
Name Description
GenerateSalt(
   cost INTEGER )
  RETURNS  STRING
Generates the encoded value needed as input to the HashPassword method.
HashPassword(
   password STRING,
   salt STRING )
  RETURNS  STRING
Creates a hash password.
CheckPassword(
   password STRING,
   hashedPass STRING )
  RETURNS  INTEGER
Checks the hash password.