array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'function.sodium-crypto-stream-keygen.php', 1 => 'sodium_crypto_stream_keygen', ), 'up' => array ( 0 => 'ref.sodium.php', 1 => 'Sodium Funciones', ), 'prev' => array ( 0 => 'function.sodium-crypto-sign.php', 1 => 'sodium_crypto_sign', ), 'next' => array ( 0 => 'function.sodium-crypto-stream-xchacha20-keygen.php', 1 => 'sodium_crypto_stream_xchacha20_keygen', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/sodium/functions/sodium-crypto-stream-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_stream_keygen — Generate a random sodium_crypto_stream key.
Generate a key for use with sodium_crypto_stream() and sodium_crypto_stream_xor().
Esta función no tiene parámetros.
Encryption key (256-bit).