public getToken () Generates a pseudo random token value to be used as input’s value in a CSRF check
public getSslVersionNumber () Getting OpenSSL or LibreSSL version Parse OPENSSL_VERSION_TEXT because OPENSSL_VERSION_NUMBER is no use for LibreSSL. if ($security->getSslVersionNumber() >= 20105) { // ... }
public getSessionToken () Returns the value of the CSRF token in session
public getSaltBytes ([mixed $numberBytes]) Generate a >22-length pseudo random string to be used as salt for passwords
public getRandomBytes () Returns a number of bytes to be generated by the openssl pseudo random generator
public getRandom () Returns a secure random number generator instance
public getDI () Returns the internal dependency injector
public getDefaultHash () Returns the default hash
public destroyToken () Removes the value of the CSRF token and key from session
integer CRYPT_STD_DES
Page 41 of 382