ed25519_to_x25519_private

Function ed25519_to_x25519_private 

Source
pub fn ed25519_to_x25519_private(
    ed25519_key: &SigningKey,
) -> Result<StaticSecret, CryptoError>
Expand description

Convert Ed25519 private key to X25519 private key Both curves use the same underlying Curve25519