40: private const FORMAT_VERSION = 'v2'; 78: if ($version !== self::FORMAT_VERSION) { 100: $actualHmac = hash_hmac('sha256', $value, Security::getNonceKey()); 101: if (!hash_equals($expectedHmac, $actualHmac)) { 119: $hmac = hash_hmac('sha256', $serialized, Security::getNonceKey()); 121: $payload = self::FORMAT_VERSION . "\n"