59 if ($secret[0] !==
'z') {
60 $rand_max = getrandmax();
61 if ($rand_max < pow(2, 16)) {
64 if ($rand_max < pow(2, 32)) {
init_site_secret()
Initialise the site secret (32 bytes: "z" to indicate format + 186-bit key in Base64 URL).
get_site_secret()
Returns the site secret.
if(! $autoload_available) _elgg_services()
getStrength()
Get the strength of the site secret.
init()
Initialise the site secret (32 bytes: "z" to indicate format + 186-bit key in Base64 URL).