array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.sodium-crypto-kx-publickey.php', 1 => 'sodium_crypto_kx_publickey', 2 => 'Extract the public key from a crypto_kx keypair', ), 'up' => array ( 0 => 'ref.sodium.php', 1 => 'Sodium İşlevleri', ), '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' => 'en', 'path' => 'reference/sodium/functions/sodium-crypto-kx-publickey.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

sodium_crypto_kx_publickey

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_kx_publickeyExtract the public key from a crypto_kx keypair

Açıklama

sodium_crypto_kx_publickey(#[\SensitiveParameter] string $key_pair): string

Extract the public key from a crypto_kx keypair.

Bağımsız Değişkenler

key_pair

X25519 keypair, such as one generated by sodium_crypto_kx_keypair().

Dönen Değerler

X25519 public key.