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
pub fn ed25519_to_x25519_private(
ed25519_key: &SigningKey,
) -> Result<StaticSecret, CryptoError>Convert Ed25519 private key to X25519 private key Both curves use the same underlying Curve25519