Function lair_keystore::dependencies::sodoken::sign::ed25519_pk_to_curve25519

source ยท
pub fn ed25519_pk_to_curve25519<E, S>(
    x25519_pk: E,
    ed25519_pk: S,
) -> Result<(), OneErr>
where E: Into<BufWriteSized<sodoken::::sign::ed25519_pk_to_curve25519::{constant#0}>> + 'static + Send, S: Into<BufReadSized<sodoken::::sign::ed25519_pk_to_curve25519::{constant#1}>> + 'static + Send,
Expand description

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