private static function getKey() { if (self::$key) { return self::$key; } return self::$key = substr(Cookie::getSecretKey(), 0, 32); }