In development. These pages describe the planned API. Endpoint and field names may change before launch.
What Qurebit does
Qurebit is an HTTPS API for post-quantum cryptography. It handles three jobs for a DeFi app: signing and verifying, sealing and opening data, and managing the keys behind both.
Every algorithm it uses is a finalized NIST standard: ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) for signatures, and ML-KEM (FIPS 203) for key exchange.
Where it fits
Chains verify ECDSA for transactions today, and Qurebit does not change that. It protects what your app signs and encrypts around the chain: orders, intents, oracle reports, relayer messages, backups and the calls between your own services.
Where to go next
Start with the quickstart to sign and verify your first message, then read core concepts to pick parameter sets.
Qurebit keys are addressed by ID. A key has an algorithm and one or more versions; rotating creates a new version without changing the ID, so your code keeps working.
Parameter sets
Each algorithm comes in parameter sets that trade size for strength. NIST groups them into security categories from 1 to 5.
Parameter set
Standard
Use
Security category
ml-dsa-44
FIPS 204
Signatures
2
ml-dsa-65
FIPS 204
Signatures
3
ml-dsa-87
FIPS 204
Signatures
5
slh-dsa-128s
FIPS 205
Signatures
1
ml-kem-512
FIPS 203
Key exchange
1
ml-kem-768
FIPS 203
Key exchange
3
ml-kem-1024
FIPS 203
Key exchange
5
Highlighted rows are the defaults. Categories are NIST's, from 1 (lowest) to 5.
Hybrid by default
New signing keys are created in hybrid mode, which pairs the post-quantum signature with an ECDSA one. See hybrid mode for how verification decides.
An attacker who breaks ECDSA, for example with a future quantum computer, still cannot produce the ML-DSA signature. An unexpected flaw in a newer algorithm is covered the same way by ECDSA.
Dropping the classical half
When your verifiers no longer need ECDSA, switch the key to post-quantum only. The key ID stays the same.
Send the public key, the message and the signature. The response says whether it is valid and which algorithm checked it.
Signature formatmatches ml-dsa-65
Public keykey_7Hc2, version 2
Messageunchanged
Resultvalid
Verify anywhere
Signatures follow the FIPS standards, so any library that implements them can verify without calling Qurebit, for example the Open Quantum Safe project's liboqs.
ML-KEM gives two parties the same 32-byte secret. One side publishes an encapsulation key, the other encapsulates to it and sends back a ciphertext, and the first side decapsulates it.
Your appCounterparty
encapsulation key1,184 bytes
ciphertext1,088 bytes
shared secret, 32 bytesshared secret, 32 bytes
Sizes for ml-kem-768, from FIPS 203.
The calls
Request
POST /v1/kem/encapsulate
{
"public_key": "0x77c1…0d5e",
"algorithm": "ml-kem-768"
}
Encapsulate returns the ciphertext and the shared secret. The holder of the key calls /v1/kem/decapsulate with the ciphertext to get the same secret.