PHP - Manual: sodium_crypto_sign_publickey_from_secretkey
2024-11-13
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_sign_publickey_from_secretkey — Extract the Ed25519 public key from the secret key
$secret_key
): stringExtract the Ed25519 public key from the secret key
secret_key
Ed25519 secret key
Ed25519 public key
官方地址:https://www.php.net/manual/en/function.sodium-crypto-sign-publickey-from-secretkey.php