sodium_crypto_box_open

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