array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ru', ), 'this' => array ( 0 => 'function.sodium-crypto-kx-publickey.php', 1 => 'sodium_crypto_kx_publickey', ), 'up' => array ( 0 => 'ref.sodium.php', 1 => 'Функции Sodium', ), 'prev' => array ( 0 => 'function.sodium-crypto-kx-keypair.php', 1 => 'sodium_crypto_kx_keypair', ), 'next' => array ( 0 => 'function.sodium-crypto-kx-secretkey.php', 1 => 'sodium_crypto_kx_secretkey', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ru', 'path' => 'reference/sodium/functions/sodium-crypto-kx-publickey.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_kx_publickey — Извлекает открытый ключ из пары ключей crypto_kx
Извлекает открытый ключ из пары ключей crypto_kx.
key_pair
Пара ключей X25519, например, сгенерированная sodium_crypto_kx_keypair().
Открытый ключ X25519.