sodium_crypto_sign_secretkey

Extract the Ed25519 secret key from a keypair

Description

string sodium_crypto_sign_secretkey(#[\SensitiveParameter]string $key_pair)

Extract the Ed25519 secret key from a keypair

Parameters

key_pair

Ed25519 keypair (see: sodium_crypto_sign_keypair)

Return Values

Ed25519 secret key