array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.sodium-crypto-secretstream-xchacha20poly1305-keygen.php', 1 => 'sodium_crypto_secretstream_xchacha20poly1305_keygen', ), 'up' => array ( 0 => 'ref.sodium.php', 1 => 'Sodium 関数', ), 'prev' => array ( 0 => 'function.sodium-crypto-secretstream-xchacha20poly1305-init-push.php', 1 => 'sodium_crypto_secretstream_xchacha20poly1305_init_push', ), 'next' => array ( 0 => 'function.sodium-crypto-secretstream-xchacha20poly1305-pull.php', 1 => 'sodium_crypto_secretstream_xchacha20poly1305_pull', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/sodium/functions/sodium-crypto-secretstream-xchacha20poly1305-keygen.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_secretstream_xchacha20poly1305_keygen — ランダムなシークレットストリームのキーを生成する
この関数にはパラメータはありません。
ランダムなバイト列からなる文字列を返します。