sodium_crypto_sign_publickey_from_secretkey
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.2.0, PHP 8)
Extract the Ed25519 public key from the secret key
Description
sodium_crypto_sign_publickey_from_secretkey(string $secret_key): string
Extract the Ed25519 public key from the secret key
Parameters
secret_keyEd25519 secret key
Return Values
Ed25519 public key