WordPress at Your Fingertips
function is not described

sodium_crypto_secretbox_open() WP 1.0

No Hooks.

Return

String|true|false.

Usage

sodium_crypto_secretbox_open( $message, $nonce, $key );
$message(string) (required)
-
$nonce(string) (required)
-
$key(string) (required)
-

Notes

Code of sodium_crypto_secretbox_open() WP 5.8.2

function sodium_crypto_secretbox_open($message, $nonce, $key)
{
    try {
        return ParagonIE_Sodium_Compat::crypto_secretbox_open($message, $nonce, $key);
    } catch (Error $ex) {
        return false;
    } catch (Exception $ex) {
        return false;
    }
}