Home / Interactive Post-Quantum Cryptography Lab

Interactive Post-Quantum Cryptography Lab

LIVE CRYPTO LAB

Run a PQC operation
and see its size and execution time.

Run ML-KEM and ML-DSA in the browser to see real byte sizes, timings, and transport overhead.

QUANTUM THREAT CONSOLE / SHOR

Quantum computers change the assumptions,
not the key length.

Shor's algorithm threatens the mathematical assumptions of RSA / ECC; PQC moves to lattices, codes, and hashes. Next, run ML-KEM / ML-DSA and observe the results yourself.

SHORRSA / ECCLATTICECODE-BASEDHASH-BASED
View the Shor circuit diagram
q0q1q2q3q4 H H X ORACLE QFT† M M M
QUBIT CIRCUIT / 5 QUBITSH → ORACLE → QFT† → M
SHORRSA / ECC assumptions broken
PQCLattice / code / hash: a different set of assumptions
Computed locally in the browser@noble/post-quantum 0.7.0 + Web CryptoOSR hardware: not connected
01 / SESSIONReal cryptographic experimentWEB WORKER
TXSenderBrowser
66 B
RXReceiverBrowser

The sample message can be edited. Content is processed only in this page's memory and is never uploaded.

Session key not generated yetPublic key SHA-256 fingerprint appears after generation
READYWaiting to start

Start with one real input

After generating the session key, send the content and verify it at the receiver.

OSR INTEGRATION

Host side → crypto card / SDK; chip side → PQC IP / eHSM; validation → test equipment.

Post-quantum crypto card →PQC security IP →
READING

The upper part is real computation in the browser; sizes, bandwidth, handshake, and HNDL are model estimates and do not connect to OSR hardware.

Computation path, measurement scope, and implementation source

What actually runs

Message scenario: ML-KEM key generation and encapsulation / decapsulation, HKDF-SHA-256 derives an AES-256-GCM key, then encryption and authenticated decryption. Signature scenario: pure ML-DSA signing and verification over the sample firmware text.

How to read a failed result

For invalid ciphertexts of equal length, ML-KEM can produce a different secret through implicit rejection instead of returning an error. Here the plaintext is rejected by a subsequent AES-GCM authentication failure. If the firmware is modified or the wrong public key is used, ML-DSA verification returns failure.

Implementation and scope

Uses a fixed-version open-source JavaScript implementation; randomness comes from the browser's crypto.getRandomValues. Computation runs inside a Web Worker, with both roles in the same browser. This is not the output of a network protocol, a TLS session, or OSR SDK / IP. The size and bandwidth sections in the lower half of the page are static models and run no cryptographic algorithms.

Trust assumptions and timing

The demo assumes the receiver's public key is trusted. Identity negotiation, certificate chains, rollback protection, and hardware key isolation are not implemented. Single-run timings depend on the browser and system load, cover only the annotated function calls, and exclude real networks and hardware drivers.

View pinned source code ↗ Open-source licenses and build notes ↗

This experiment is for understanding cryptographic capabilities and integration requirements. It uses temporary sample data; do not enter real keys or sensitive business information. The open-source JavaScript implementation provides no constant-time execution guarantee.

TECHNICAL DOCUMENT

Documents support technical planning and selection; specifications follow the official product release.