sodium_crypto_secretbox_open

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Authenticated shared-key decryption
<?php sodium_crypto_secretbox_open(string $ciphertext, string $nonce, string $key): string|false