sodium_crypto_sign_seed_keypair
Deterministically derive the key pair from a single key
Description
string sodium_crypto_sign_seed_keypair(#[\SensitiveParameter]string $seed
)
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.
Parameters
-
seed
-
Some cryptographic input. Must be 32 bytes.
Return Values
Keypair (secret key and public key)