Skip to main content

Crate quantaegis_hybrid

Crate quantaegis_hybrid 

Source
Expand description

Hybrid Post-Quantum / Classical KEMs and Composite Digital Signatures (quantaegis-hybrid).

Provides two IETF-aligned defense-in-depth hybrid constructions:

  • XWing (draft-connolly-cfrg-xwing-kem-11): Hybrid KEM combining FIPS 203 ML-KEM-768 with RFC 7748 X25519 via a domain-separated SHA3-256 combiner.
  • MlDsa65Ed25519 (RFC 10073 / draft-ietf-lamps-pq-composite-sigs-19, id-MLDSA65-Ed25519-SHA512, label COMPSIG-MLDSA65-Ed25519-SHA512): Hybrid signature combining FIPS 204 ML-DSA-65 with RFC 8032 Ed25519 via SHA-512 pre-hashing and strict AND-gate verification.

§Security Properties

  • Both schemes remain secure as long as either the post-quantum or classical primitive holds.
  • #![no_std] (no alloc required) and #![forbid(unsafe_code)].
  • Automatic secret zeroization on drop and redacted Debug formatting.

Re-exports§

pub use mldsa65_ed25519::MlDsa65Ed25519;
pub use xwing::XWing;

Modules§

mldsa65_ed25519
IETF LAMPS Composite ML-DSA (id-MLDSA65-Ed25519-SHA512) hybrid digital signature scheme.
xwing
X-Wing general-purpose hybrid post-quantum KEM (ML-KEM-768 + X25519) conforming to draft-connolly-cfrg-xwing-kem-11 (IRTF CFRG Internet-Draft, revision -11).