pub fn convert_curve25519_to_ed25519_public(
    pubkey: &PublicKey,
    signbit: u8
) -> Option<PublicKey>
Expand description

Convert a curve25519 public key (with sign bit) to an ed25519 public key, for use in ntor key cross-certification.

Note that this formula is not standardized; don’t use it for anything besides cross-certification.