array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ru', ), 'this' => array ( 0 => 'function.sodium-crypto-secretstream-xchacha20poly1305-rekey.php', 1 => 'sodium_crypto_secretstream_xchacha20poly1305_rekey', ), 'up' => array ( 0 => 'ref.sodium.php', 1 => 'Функции Sodium', ), 'prev' => array ( 0 => 'function.sodium-crypto-secretstream-xchacha20poly1305-push.php', 1 => 'sodium_crypto_secretstream_xchacha20poly1305_push', ), 'next' => array ( 0 => 'function.sodium-crypto-shorthash-keygen.php', 1 => 'sodium_crypto_shorthash_keygen', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ru', 'path' => 'reference/sodium/functions/sodium-crypto-secretstream-xchacha20poly1305-rekey.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_secretstream_xchacha20poly1305_rekey — Явно поворачивает ключ в состояние secretstream
Явно поворачивает ключ в состояние secretstream. Заменяет переданное значение.
state
Состояние secretstream
Функция не возвращает значения после выполнения.