Summery Summery
HMAC-SHA-512-256 validation. Constant-time via hash_equals().
Syntax Syntax
Parameters Parameters
- $mac
-
(Required)
- $message
-
(Required)
- $key
-
(Required)
Return Return
(bool)
Source Source
File: wp-includes/sodium_compat/src/Crypto.php
public static function auth_verify($mac, $message, $key) { return ParagonIE_Sodium_Core_Util::hashEquals( $mac, self::auth($message, $key) ); }