php / 8.1.5 / function.sodium-crypto-sign-publickey-from-secretkey.html /

sodium_crypto_sign_publickey_from_secretkey

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_sign_publickey_from_secretkeyExtract 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_key

Ed25519 secret key

Return Values

Ed25519 public key

© 1997–2021 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-publickey-from-secretkey.php