ed25519_to_x25519_public_from_verifying_key

Function ed25519_to_x25519_public_from_verifying_key 

Source
pub fn ed25519_to_x25519_public_from_verifying_key(
    ed25519_public: &VerifyingKey,
) -> Result<PublicKey, CryptoError>
Expand description

Convert Ed25519 public key (VerifyingKey) to X25519 public key Uses curve25519-dalek’s Edwards to Montgomery conversion to match the same conversion that happens in the private key derivation path