« sodium_crypto_secretstream_xchacha20poly1305_push
sodium_crypto_shorthash »

sodium_crypto_secretstream_xchacha20poly1305_rekey

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_secretstream_xchacha20poly1305_rekey — シークレットストリームのステート中で、鍵を入れ替える

説明

function sodium_crypto_secretstream_xchacha20poly1305_rekey(string &$state): void

シークレットストリームのステート中で、鍵を明示的に入れ替えます。 渡された値は上書きされます。

パラメータ

state

シークレットストリームのステート

戻り値

値を返しません。

関連キーワード:
シークレット   ストリーム   ステート   sodium   crypto   secretstream   xchacha   poly   rekey   state   push   shorthash   Sodium   明示
関連する関数・ページ:
function.sodium-crypto-secretstream-xchacha20poly1305-keygen   function.sodium-crypto-secretstream-xchacha20poly1305-init-push   function.sodium-crypto-secretstream-xchacha20poly1305-init-pull   function.sodium-crypto-secretstream-xchacha20poly1305-pull   function.sodium-crypto-secretstream-xchacha20poly1305-push   function.sodium-crypto-stream-xchacha20-keygen