pub fn crypto_sign_ed25519_sk_to_curve25519(
    x25519_secret_key: &mut [u8; 32],
    ed25519_secret_key: &SecretKey
)
Expand description

Converts an Ed25519 secret key ed25519_secret_key into an X25519 secret key key, placing the result into x25519_secret_key.

Compatible with libsodium’s crypto_sign_ed25519_sk_to_curve25519