CakeFest 2024: The Official CakePHP Conference

sodium_crypto_stream_keygen

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_stream_keygensodium_crypto_stream で用いる、ランダムな鍵を生成する

説明

sodium_crypto_stream_keygen(): string

sodium_crypto_stream()sodium_crypto_stream_xor() で用いる鍵を生成します。

パラメータ

この関数にはパラメータはありません。

戻り値

256ビット長の暗号化キーを返します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top