WordPress at a glance
function is not described

ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_init_push() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Compat{}

No Hooks.

Return

Array. string> Returns a state and a header.

Usage

$result = ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_init_push( $key );
$key(string) (required)
-

Code of ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_init_push() WP 5.7

<?php
public static function crypto_secretstream_xchacha20poly1305_init_push($key)
{
    if (PHP_INT_SIZE === 4) {
        return ParagonIE_Sodium_Crypto32::secretstream_xchacha20poly1305_init_push($key);
    }
    return ParagonIE_Sodium_Crypto::secretstream_xchacha20poly1305_init_push($key);
}