public setDefaultHash (mixed $defaultHash) Sets the default hash
public getRandom () Returns a secure random number generator instance
public getRandomBytes () Returns a number of bytes to be generated by the openssl pseudo random generator
public hash (mixed $password, [mixed $workFactor]) Creates a password hash using bcrypt with a pseudo random
integer CRYPT_SHA256
integer CRYPT_BLOWFISH_A
public hasLibreSsl () Testing for LibreSSL
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 getToken () Generates a pseudo random token value to be used as input’s value in a CSRF check
Page 1 of 4