Endpoint:
POST https://processors.x402compute.cc/processors/<slug>/run with {"input": {"op": "..."}}.
Every processor answers {"op": "info"} with its formats.
What is post-quantum, exactly
- Key exchange (
pq-kem, and the key agreement insidepq-hybrid) uses ML-KEM-768. This is what protects against “harvest now, decrypt later”: data recorded today cannot be opened later by a quantum computer. pq-hybridis hybrid. The X-Wing combiner mixes the X25519 and ML-KEM-768 secrets, so your data stays secret unless both are broken.- AES-256-GCM is symmetric. A quantum computer does not meaningfully weaken 256-bit keys.
- Signatures. ML-DSA-65 is lattice-based. SLH-DSA relies only on hash functions, which makes it the conservative choice for long-lived identity, release and archive keys.
What we keep
These processors log nothing. The platform optionprivacy.ephemeral_io is set on all four:
- the run input (keys, messages, plaintext) is erased in the same write that ends the run;
- the result is kept about 10 minutes so you can collect it (a lost reply stays recoverable), then erased;
- the setting cannot be switched off later.
Examples
Formats
All binary values are base64. Messages and plaintext are sent as UTF-8
message / plaintext, or as
bytes in message_b64 / plaintext_b64, up to 64 KiB per call. Seed-form keys are what
pyca/cryptography exports, so keys move between the processors, Python and JavaScript unchanged.
Envelope sglpq-hybrid-v1
Client snippets (free, local)
- JavaScript (
@noble/post-quantum): Node 20+, browsers, Deno, Bun, Workers. pq-client.mjs - Python (
cryptography >= 46): ML-KEM, ML-DSA, X-Wing and the envelope. pq_client.py. SLH-DSA is not inpyca/cryptography; verify withpq-slh-dsaor locally with liboqs-python.
How it is tested
Against the official NIST ACVP test vectors (FIPS 203, 204, 205) and the X-Wing draft’s vectors, through our own wrappers, plus byte-for-byte interop between the processors, the JS snippet and the Python snippet.Library and limits
The processors use@noble/post-quantum 0.7.1, a maintained, widely used pure JavaScript library. Its
authors state it has been self-audited (April 2026) but not yet independently audited, and pure
JavaScript does not promise constant-time execution. Keep long-term private keys client-side.
Check whether a website already uses post-quantum key exchange with the free
post-quantum TLS checker.
