sodium_crypto_aead_chacha20poly1305_ietf_encrypt

Advertisement

Syntax Syntax

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

Parameters Parameters

$message

(string) (Required)

$assocData

(string) (Required)

$nonce

(string) (Required)

$key

(string) (Required)

Return Return

(string)

Source Source

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

    function sodium_crypto_aead_chacha20poly1305_ietf_encrypt($message, $assocData, $nonce, $key)
    {
        return ParagonIE_Sodium_Compat::crypto_aead_chacha20poly1305_ietf_encrypt($message, $assocData, $nonce, $key);
    }

Advertisement

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.