WordPress at a glance
function is not described

ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_init_pull() public WP 1.0

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

No Hooks.

Return

String. Returns a state.

Usage

$result = ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_init_pull( $header, $key );
$header(string) (required)
-
$key(string) (required)
-

Code of ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_init_pull() WP 5.7

<?php
public static function crypto_secretstream_xchacha20poly1305_init_pull($header, $key)
{
    if (ParagonIE_Sodium_Core_Util::strlen($header) < self::CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_HEADERBYTES) {
        throw new SodiumException(
            'header size should be SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_HEADERBYTES bytes'
        );
    }
    if (PHP_INT_SIZE === 4) {
        return ParagonIE_Sodium_Crypto32::secretstream_xchacha20poly1305_init_pull($key, $header);
    }
    return ParagonIE_Sodium_Crypto::secretstream_xchacha20poly1305_init_pull($key, $header);
}