sodium_crypto_sign_secretkey
PHP function
Edit on GitHub ✎
(PHP 7 >= 7.2.0, PHP 8)
Extract the Ed25519 secret key from a keypair
Description
sodium_crypto_sign_secretkey(string $key_pair): string
Extract the Ed25519 secret key from a keypair
Parameters
key_pairEd25519 keypair (see:
sodium_crypto_sign_keypair())
Return Values
Ed25519 secret key