PHP - Manual: sodium_crypto_sign_secretkey
2024-12-22
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_sign_secretkey — Extract the Ed25519 secret key from a keypair
$key_pair
): stringExtract the Ed25519 secret key from a keypair
key_pair
Ed25519 keypair (see: sodium_crypto_sign_keypair())
Ed25519 secret key
官方地址:https://www.php.net/manual/en/function.sodium-crypto-sign-secretkey.php