Skip to main content

crypto_sign_ed25519_sk_to_seed

Function crypto_sign_ed25519_sk_to_seed 

Source
pub fn crypto_sign_ed25519_sk_to_seed(
    seed: &mut [u8; 32],
    secret_key: &SecretKey,
)
Expand description

Extracts the Ed25519 seed from secret_key, placing the result into seed.

Compatible with libsodium’s crypto_sign_ed25519_sk_to_seed.