Skip to main content
Sycamore

Quantum Playground

Experiment safely with cryptography

No wallet keys, no funds, no transactions. Compare Ed25519 with standardised post-quantum schemes and see how sizes and timings differ in your own browser.

Education and prototyping only

This playground is for education and prototyping. It does not make your wallet or blockchain quantum-resistant. Demo keys are generated in your browser for this session only; they are never your wallet keys and are never stored or sent to the server.

Section A

Signature demonstration

Generate a temporary demo key, sign a message, verify it, tamper with the message and verify again.

Signature demonstration

Digital signatures (module-lattice based, formerly CRYSTALS-Dilithium).

Any text up to 500 characters. Do not paste secrets; this is a demonstration message.

Results appear here. Every result is labelled with its provider mode so you always know whether the cryptography was real or simulated.
Public key size
—

Published: 1952 B

Signature size
—

Published: 3309 B

Key generation
—
Signing duration
—
Verification duration
—
Tampered verification
—

Status

  • PendingOriginal message
  • PendingTampered message

Section B

Key encapsulation demonstration

Walk through key generation, encapsulation, decapsulation and shared secret agreement with ephemeral data.

Key encapsulation demonstration

Key encapsulation (module-lattice based, formerly CRYSTALS-Kyber).

A key-encapsulation mechanism lets two parties agree on a shared secret. The recipient publishes a public key; the sender uses it to produce a ciphertext and a secret; the recipient recovers the same secret from the ciphertext. Only ephemeral demo data is used here.

Results appear here with their provider mode label.
Public key size
—

Published: 1184 B

Ciphertext size
—

Published: 1088 B

Shared secret size
—
Key generation
—
Encapsulation
—
Decapsulation
—

Shared secret agreement

Pendingsender secret vs recipient secret

Section C

Comparison view

Classical and post-quantum approaches side by side, using published metadata rather than invented benchmarks.

Comparison view

Educational metadata from the published standards. Sizes are parameter sizes, not measurements. The “Measure” buttons run a small number of iterations on the server and report wall-clock means for that environment only. Where a benchmark cannot run, the table says so.

Comparison of classical and post-quantum algorithms
AlgorithmGeneral purposeTypePublic keySignature / ciphertextIntended useImplementation statusSecurity review statusBenchmark
Ed25519
classical
RFC 8032; FIPS 186-5
Digital signatures (elliptic curve, EdDSA).Signature≈ 32 B≈ 64 BTransaction and message signing. Used today by Solana for account authorization.Widely deployed in production across many ecosystems.Mature, extensively analysed. Vulnerable to Shor's algorithm on a cryptographically relevant quantum computer.
ML-DSA-44
post-quantum
FIPS 204 (2024)
Digital signatures (module-lattice based, formerly CRYSTALS-Dilithium).Signature≈ 1.3 KB≈ 2.4 KB
Exceeds Solana’s 1232-byte transaction limit
General-purpose signatures at NIST security category 2.Standardised. Native implementations exist; the prototype here uses a pure-JavaScript library.Standardised by NIST after a multi-year public evaluation. Implementations still require independent review.
ML-DSA-65
post-quantum
FIPS 204 (2024)
Digital signatures (module-lattice based, formerly CRYSTALS-Dilithium).Signature≈ 1.9 KB≈ 3.2 KB
Exceeds Solana’s 1232-byte transaction limit
General-purpose signatures at NIST security category 3, the level NIST recommends as a default.Standardised. Native implementations exist; the prototype here uses a pure-JavaScript library.Standardised by NIST after a multi-year public evaluation. Implementations still require independent review.
SLH-DSA-SHA2-128f
post-quantum
FIPS 205 (2024)
Digital signatures (stateless hash-based, formerly SPHINCS+).Signature≈ 32 B≈ 16.7 KB
Exceeds Solana’s 1232-byte transaction limit
Conservative signatures where very large signatures are acceptable, such as firmware or root-of-trust signing.Standardised. The prototype here uses a pure-JavaScript library; signing is noticeably slower than lattice schemes.Security rests on well-studied hash functions. Implementations still require independent review.
X25519
classical
RFC 7748
Key agreement (elliptic-curve Diffie–Hellman).Key establishment≈ 32 B≈ 32 BEstablishing shared secrets, for example in TLS and messaging protocols.Widely deployed in production.Mature, extensively analysed. Vulnerable to Shor's algorithm on a cryptographically relevant quantum computer.
ML-KEM-768
post-quantum
FIPS 203 (2024)
Key encapsulation (module-lattice based, formerly CRYSTALS-Kyber).Key establishment≈ 1.2 KB≈ 1.1 KBEstablishing shared secrets at NIST security category 3. Already deployed in hybrid TLS key exchange by major browsers and CDNs.Standardised and in production use in hybrid mode. The prototype here uses a pure-JavaScript library.Standardised by NIST after a multi-year public evaluation. Implementations still require independent review.

Section D

Solana context

What this playground does and does not change about on-chain authorization.

Solana context

How Solana authorises a transaction

A transaction carries one or more 64-byte Ed25519 signatures over its serialised message. Each signer’s 32-byte public key appears in the account list, and the first signer pays the fee. Validators verify every signature before executing any instruction.

Current signature assumptions

  • Account addresses are Ed25519 public keys and are visible on-chain by design.
  • Transactions are limited to 1232 bytes including all signatures.
  • Native programs verify Ed25519 and secp256k1 signatures; there is no native post-quantum verifier.

Why this demo does not change blockchain-level authorization

Everything on this page runs in your browser or on the Sycamore server. A post-quantum signature produced here is never submitted to Solana, and even a program that verified one inside an instruction would still need an Ed25519 fee-payer signature for the transaction itself. Base-layer authorization is unchanged.

Why migration needs protocol and wallet support

Adopting a new scheme on Solana would require a transaction format with room for larger signatures, validator-side verification with fee accounting, a way for existing accounts to designate a new key type, and support in wallets and hardware devices. Application teams can prepare for that, but cannot ship it alone. Any experimentation should use Solana Devnet only, never production funds.

Read more: Solana Transaction Authorization Today.