#post-quantum-cryptography #kem

no-std x-wing

Pure Rust implementation of the X-Wing Key Encapsulation Mechanism (draft 06)

4 releases

Uses new Rust 2024

new 0.1.0-pre.2 Oct 31, 2025
0.1.0-pre.1 Oct 27, 2025
0.0.1-pre.1 Jan 21, 2025
0.0.1-alpha Sep 27, 2024
0.0.0 Jan 11, 2024

#2971 in Cryptography

Download history 26/week @ 2025-07-09 66/week @ 2025-07-16 82/week @ 2025-07-23 44/week @ 2025-07-30 34/week @ 2025-08-06 34/week @ 2025-08-13 63/week @ 2025-08-20 54/week @ 2025-08-27 76/week @ 2025-09-03 47/week @ 2025-09-10 48/week @ 2025-09-17 73/week @ 2025-09-24 63/week @ 2025-10-01 41/week @ 2025-10-08 76/week @ 2025-10-15 272/week @ 2025-10-22

460 downloads per month
Used in 5 crates

Apache-2.0 OR MIT

120KB
2.5K SLoC

RustCrypto: X-Wing KEM

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of X-Wing, a general-purpose post-quantum/traditional hybrid key encapsulation mechanism (PQ/T KEM) built on X25519 and ML-KEM-768. Built on the ml-kem and x25519-dalek crates.

Current implementation matches the draft RFC version 06.

The original paper: X-Wing The Hybrid KEM You’ve Been Looking For

Documentation

About

⚠️ Security Warning

The implementation contained in this crate has never been independently audited!

USE AT YOUR OWN RISK!

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~3–4MB
~68K SLoC