pub fn ed25519_sk_to_curve25519<E, S>(
    x25519_sk: E,
    ed25519_sk: S,
) -> Result<(), OneErr>
where E: Into<BufWriteSized<sodoken::::sign::ed25519_sk_to_curve25519::{constant#0}>> + 'static + Send, S: Into<BufReadSized<sodoken::::sign::ed25519_sk_to_curve25519::{constant#1}>> + 'static + Send,
Expand description

Convert a signing ed25519 secret key into an encryption x25519 secret key. Please understand the downsides of this function before making use of it. https://doc.libsodium.org/advanced/ed25519-curve25519