Key Encapsulation
BIKE
Bit Flipping Key Encapsulation
Mechanism
How it works
Parameter Sets
3 variants shipped
Each variant trades security category against key, ciphertext, or signature size. QNSP exposes all variants via the @cuilabs/liboqs-native binding; tenant crypto-policy determines which are allowed.
| Variant | NIST Level | Public Key | Secret Key | Ciphertext | Note |
|---|---|---|---|---|---|
| BIKE-L1 | L1 | 1,541 B | 5,223 B | 1,573 B | |
| BIKE-L3 | L3 | 3,083 B | 10,105 B | 3,115 B | |
| BIKE-L5 | L5 | 5,122 B | 16,494 B | 5,154 B |
NIST ACVP
Conformance evidence
QNSP runs the official NIST ACVP test vectors against every shipped algorithm. Live evidence + SHA-3-256 tamper digest at /verify/conformance.
Use Cases
When to use it
- Customer workloads requiring code-based alternatives beyond HQC
- Research and migration analysis
Trade-offs
What you give up, what you get
- Secret keys are larger than HQC at equivalent security levels
- Not on the NIST PQC standardisation path — defer to HQC unless specific needs
FAQ
BIKE — frequently asked questions
Concise, source-of-truth answers to the questions buyers and engineers ask most about this algorithm.
What is BIKE?
BIKE (Bit Flipping Key Encapsulation) is a code based post-quantum key encapsulation mechanism. It is designed to resist attacks from both classical and quantum computers, and QNSP ships 3 of its parameter sets. It is also known as Bit-Flipping KEM.
Is BIKE NIST-standardized?
BIKE is not a finalized NIST FIPS standard. QNSP ships it as a non-FIPS post-quantum option, typically to add an independent cryptographic assumption (code based) alongside the FIPS-standardized ML-KEM and ML-DSA for defence-in-depth.
What is BIKE used for?
On QNSP, BIKE is used for Customer workloads requiring code-based alternatives beyond HQC; Research and migration analysis. It is available from the default crypto-policy tier upward via the liboqs provider.
References