array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.sodium-crypto-sign-seed-keypair.php', 1 => 'sodium_crypto_sign_seed_keypair', 2 => 'Deterministically derive the key pair from a single key', ), 'up' => array ( 0 => 'ref.sodium.php', 1 => 'Sodium İşlevleri', ), 'prev' => array ( 0 => 'function.sodium-crypto-sign-secretkey.php', 1 => 'sodium_crypto_sign_secretkey', ), 'next' => array ( 0 => 'function.sodium-crypto-sign-verify-detached.php', 1 => 'sodium_crypto_sign_verify_detached', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/sodium/functions/sodium-crypto-sign-seed-keypair.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

sodium_crypto_sign_seed_keypair

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_sign_seed_keypairDeterministically derive the key pair from a single key

Açıklama

sodium_crypto_sign_seed_keypair(#[\SensitiveParameter] string $seed): string

Clamps the seed to form a secret key, derives the public key, and returns the two as a keypair.

The *_seed_keypair functions are ideal for generating a keypair from a password and salt. Use the result as a seed to generate the desired keys.

Bağımsız Değişkenler

seed

Some cryptographic input. Must be 32 bytes.

Dönen Değerler

Keypair (secret key and public key)