public setDefaultHash (mixed $defaultHash) Sets the default hash
public getRandom () Returns a secure random number generator instance
public getTokenKey () Generates a pseudo random token key to be used as input’s name in a CSRF check
public getSslVersionNumber () Getting OpenSSL or LibreSSL version Parse OPENSSL_VERSION_TEXT because OPENSSL_VERSION_NUMBER
public checkHash (mixed $password, mixed $passwordHash, [mixed $maxPassLength]) Checks a plain text
public hasLibreSsl () Testing for LibreSSL
public hash (mixed $password, [mixed $workFactor]) Creates a password hash using bcrypt with a pseudo random
public getRandomBytes () Returns a number of bytes to be generated by the openssl pseudo random generator
integer CRYPT_BLOWFISH_A
integer CRYPT_SHA256
Page 1 of 4