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