security.BCrypt methods

Methods of the security.BCrypt class.

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