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

说明

sodium_crypto_sign_publickey_from_secretkey(#[\SensitiveParameter] string $secret_key): string

Extract the Ed25519 public key from the secret key

参数

secret_key

Ed25519 secret key

返回值

Ed25519 public key