PHP - Manual: sodium_crypto_secretstream_xchacha20poly1305_rekey
2024-11-13
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_secretstream_xchacha20poly1305_rekey — Explicitly rotate the key in the secretstream state
&$state
): voidExplicitly rotate the key in the secretstream state. Overwrites the value passed in.
state
Secretstream state.
没有返回值。
官方地址:https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-rekey.php