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/Crypto32.php
public static function auth_verify($mac, $message, $key) { return ParagonIE_Sodium_Core32_Util::hashEquals( $mac, self::auth($message, $key) ); }