ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey

Advertisement

Syntax Syntax

ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey( string $state )

Parameters Parameters

$state

(string) (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

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