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 getTokenKey () Generates a pseudo random token key to be used as input’s name in a CSRF check
integer CRYPT_STD_DES
public getRandomBytes () Returns a number of bytes to be generated by the openssl pseudo random generator
public getDI () Returns the internal dependency injector
public getSaltBytes ([mixed $numberBytes]) Generate a >22-length pseudo random string to be used as salt for passwords
public getDefaultHash () Returns the default hash
public getRandom () Returns a secure random number generator instance
public destroyToken () Removes the value of the CSRF token and key from session
Page 41 of 382