public setDefaultHash (mixed $defaultHash) Sets the default hash
public getRandom () Returns a secure random number generator instance
extends class Phalcon\Exception
public getRandomBytes () Returns a number of bytes to be generated by the openssl pseudo random generator
public getToken () Generates a pseudo random token value to be used as input’s value in a CSRF check
public checkHash (mixed $password, mixed $passwordHash, [mixed $maxPassLength]) Checks a plain text
public uuid () Generates a v4 random UUID (Universally Unique IDentifier) The version 4 UUID is purely random (except the version)
public hash (mixed $password, [mixed $workFactor]) Creates a password hash using bcrypt with a pseudo random
integer CRYPT_BLOWFISH_A
public getSslVersionNumber () Getting OpenSSL or LibreSSL version Parse OPENSSL_VERSION_TEXT because OPENSSL_VERSION_NUMBER
Page 1 of 5