ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey

Advertisement

Syntax Syntax

ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey( string $state )

Parameters Parameters

$state

(Required)

Return Return

(void)

Source Source

File: wp-includes/sodium_compat/src/Compat.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);
        }
    }

Advertisement

Advertisement

Leave a Reply