WordPress at a glance
function is not described

ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey() public WP 1.0

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

No Hooks.

Return

null. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey( $state );
$state(string) (required) (passed by reference — &)
-

Code of ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey() WP 5.7

<?php
public static function crypto_secretstream_xchacha20poly1305_rekey(&$state)
{
    if (PHP_INT_SIZE === 4) {
        ParagonIE_Sodium_Crypto32::secretstream_xchacha20poly1305_rekey($state);
    } else {
        ParagonIE_Sodium_Crypto::secretstream_xchacha20poly1305_rekey($state);
    }
}