Summery Summery
HMAC-SHA-512-256 (a.k.a. the leftmost 256 bits of HMAC-SHA-512)
Syntax Syntax
Parameters Parameters
- $message
-
(Required)
- $key
-
(Required)
Return Return
(string)
Source Source
File: wp-includes/sodium_compat/src/Crypto.php
public static function auth($message, $key) { return ParagonIE_Sodium_Core_Util::substr( hash_hmac('sha512', $message, $key, true), 0, 32 ); }