sodium_crypto_secretstream_xchacha20poly1305_push

Advertisement

Syntax Syntax

sodium_crypto_secretstream_xchacha20poly1305_push( string $state, string $msg, string $aad = '', int $tag )

Parameters Parameters

$state

(string) (Required)

$msg

(string) (Required)

$aad

(string) (Optional)

Default value: ''

$tag

(int) (Required)

Return Return

(string)

Source Source

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

    function sodium_crypto_secretstream_xchacha20poly1305_push(&$state, $msg, $aad = '', $tag = 0)
    {
        return ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_push($state, $msg, $aad, $tag);
    }

Advertisement

Advertisement

Leave a Reply

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