ParagonIE_Sodium_Compat::crypto_auth_verify

SummerySummery

Verify the MAC of a message previously authenticated with crypto_auth.

Syntax

ParagonIE_Sodium_Compat::crypto_auth_verify( string $mac, string $message, string $key )

ParametersParameters

$mac

(string) (Required) Message authentication code

$message

(string) (Required) Message whose authenticity you are attempting to verify (with a given MAC and key)

$key

(string) (Required) Symmetric authentication key

ReturnReturn

(bool) TRUE if authenticated, FALSE otherwise

SourceSource

File: wp-includes/sodium_compat/src/Compat.php


			
Scroll to Top