sodium_crypto_auth_verify
Supported Versions: PHP 7 >= 7.2.0, PHP 8
Verifies that the tag is valid for the message
<?php sodium_crypto_auth_verify
(
string $mac
,
string $message
,
string $key
):
bool