(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_sign_keypair_from_secretkey_and_publickey — Join a secret key and public key together
sodium_crypto_sign_keypair_from_secretkey_and_publickey(#[\SensitiveParameter] string $secret_key, string $public_key): string
Join a secret key and public key together.
secret_keyEd25519 secret key
public_keyEd25519 public key
Keypair
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.sodium-crypto-sign-keypair-from-secretkey-and-publickey.php