PHP Conference Japan 2024

sodium_crypto_secretstream_xchacha20poly1305_keygen

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_secretstream_xchacha20poly1305_keygen產生隨機的 secretstream 金鑰。

說明

sodium_crypto_secretstream_xchacha20poly1305_keygen(): 字串

產生隨機的 secretstream 金鑰。

參數

此函式沒有參數。

回傳值

回傳一個隨機位元組的字串。

新增註記

使用者貢獻的註記

此頁面沒有使用者貢獻的註記。
To Top