Skip to main content

composite_fingerprint

Function composite_fingerprint 

Source
pub fn composite_fingerprint(
    ed25519_pubkey: &[u8; 32],
    ml_dsa_vk: &MlDsaVerifyingKey,
) -> [u8; 32]
Expand description

The fingerprint compared over the out-of-band channel.

Covers the pair — domain ‖ ed25519 ‖ ml_dsa_65 — not the PQ key alone. A fingerprint over only the PQ half would confirm that someone holds that key while saying nothing about which identity it belongs to, which is exactly the substitution the out-of-band comparison exists to catch.