PHP.nl

sodium_crypto_box_seed_keypair

sodium_crypto_box_seed_keypair

Deterministically derive the key pair from a single key

string **sodium_crypto_box_seed_keypair** string $seed

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

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

seedSome cryptographic input. Must be 32 bytes.

X25519 Keypair (secret key and public key).