<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.sodium.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'function.sodium-crypto-aead-aes256gcm-keygen.php',
    1 => 'sodium_crypto_aead_aes256gcm_keygen',
    2 => 'Создаёт случайный ключ AES-256-GCM',
  ),
  'up' => 
  array (
    0 => 'ref.sodium.php',
    1 => 'Функции Sodium',
  ),
  'prev' => 
  array (
    0 => 'function.sodium-crypto-aead-aes256gcm-is-available.php',
    1 => 'sodium_crypto_aead_aes256gcm_is_available',
  ),
  'next' => 
  array (
    0 => 'function.sodium-crypto-aead-chacha20poly1305-decrypt.php',
    1 => 'sodium_crypto_aead_chacha20poly1305_decrypt',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/sodium/functions/sodium-crypto-aead-aes256gcm-keygen.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.sodium-crypto-aead-aes256gcm-keygen" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">sodium_crypto_aead_aes256gcm_keygen</h1>
  <p class="verinfo">(PHP 7 &gt;= 7.2.0, PHP 8)</p><p class="refpurpose"><span class="refname">sodium_crypto_aead_aes256gcm_keygen</span> &mdash; <span class="dc-title">Создаёт случайный ключ AES-256-GCM</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.sodium-crypto-aead-aes256gcm-keygen-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>sodium_crypto_aead_aes256gcm_keygen</strong></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="simpara">
   Создаёт случайный ключ для использования в <span class="function"><a href="function.sodium-crypto-aead-aes256gcm-encrypt.php" class="function">sodium_crypto_aead_aes256gcm_encrypt()</a></span> и
   <span class="function"><a href="function.sodium-crypto-aead-aes256gcm-decrypt.php" class="function">sodium_crypto_aead_aes256gcm_decrypt()</a></span>.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.sodium-crypto-aead-aes256gcm-keygen-parameters">
  <h3 class="title">Список параметров</h3>
  
<p class="para">
 Сигнатура функции не содержит параметров.
</p>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.sodium-crypto-aead-aes256gcm-keygen-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="simpara">
   Возвращает 256-битный случайный ключ.
  </p>
 </div>



</div><?php manual_footer($setup); ?>