sodium_crypto_secretstream_xchacha20poly1305_keygen
PHP Manual
PHP Manual»Sodium 関数»sodium_crypto_secretstream_xchacha20poly1305_keygen

sodium_crypto_secretstream_xchacha20poly1305_keygen

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_secretstream_xchacha20poly1305_keygenランダムなシークレットストリームのキーを生成する

説明

function sodium_crypto_secretstream_xchacha20poly1305_keygen(): string

ランダムなシークレットストリームのキーを生成します。

パラメータ

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

戻り値

ランダムなバイト列からなる文字列を返します。

To Top