WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Crypto32::auth_verify() public WP 1.0

HMAC-SHA-512-256 validation. Constant-time via hash_equals().

{} It's a method of the class: ParagonIE_Sodium_Crypto32{}

No Hooks.

Return

true|false.

Usage

$result = ParagonIE_Sodium_Crypto32::auth_verify( $mac, $message, $key );
$mac(string) (required)
-
$message(string) (required)
-
$key(string) (required)
-

Code of ParagonIE_Sodium_Crypto32::auth_verify() WP 5.8.2

public static function auth_verify($mac, $message, $key)
{
    return ParagonIE_Sodium_Core32_Util::hashEquals(
        $mac,
        self::auth($message, $key)
    );
}