public getRandom () Returns a secure random number generator instance
extends class Phalcon\Exception
public setDefaultHash (mixed $defaultHash) Sets the default hash
public hash (mixed $password, [mixed $workFactor]) Creates a password hash using bcrypt with a pseudo random
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 hasLibreSsl () Testing for LibreSSL
public getSslVersionNumber () Getting OpenSSL or LibreSSL version Parse OPENSSL_VERSION_TEXT because OPENSSL_VERSION_NUMBER
public getRandomBytes () Returns a number of bytes to be generated by the openssl pseudo random generator
integer CRYPT_BLOWFISH_A
Page 1 of 5