sodium_crypto_aead_xchacha20poly1305_ietf_encrypt

Advertisement

Syntax Syntax

sodium_crypto_aead_xchacha20poly1305_ietf_encrypt( string $message, string $assocData, string $nonce, string $key )

Parameters Parameters

$message

(Required)

$assocData

(Required)

$nonce

(Required)

$key

(Required)

Return Return

(string)

Source Source

File: wp-includes/sodium_compat/lib/php72compat.php

    function sodium_crypto_aead_xchacha20poly1305_ietf_encrypt($message, $assocData, $nonce, $key)
    {
        return ParagonIE_Sodium_Compat::crypto_aead_xchacha20poly1305_ietf_encrypt($message, $assocData, $nonce, $key, true);
    }

Advertisement

See also See also

Advertisement

Leave a Reply