Elgg
Version 1.10
|
Public Member Functions | |
init () | |
Initialise the site secret (32 bytes: "z" to indicate format + 186-bit key in Base64 URL). More... | |
get () | |
Returns the site secret. More... | |
getStrength () | |
Get the strength of the site secret. More... | |
Definition at line 13 of file SiteSecret.php.
Elgg\Database\SiteSecret::get | ( | ) |
Returns the site secret.
Used to generate difficult to guess hashes for sessions and action tokens.
Definition at line 42 of file SiteSecret.php.
Elgg\Database\SiteSecret::getStrength | ( | ) |
Get the strength of the site secret.
Definition at line 57 of file SiteSecret.php.
Elgg\Database\SiteSecret::init | ( | ) |
Initialise the site secret (32 bytes: "z" to indicate format + 186-bit key in Base64 URL).
Used during installation and saves as a datalist.
Note: Old secrets were hex encoded.
Definition at line 24 of file SiteSecret.php.