skip to content
QUANTUM NEXUM

← forge

Signatures

Status: dev — the signing demo is simulated in-browser; no private keys are generated or transmitted.

Digital Signatures

Sign and verify messages using post-quantum signature algorithms.

Interactive Signing Demo

Simulated cryptographic operations
1. Message to Sign
2. Signature Output
# Click “Sign Message” to generate a signature # Then try “Verify” to check it # Use “Tamper Message” to see verification fail
How it works: Sign a message, then verify it passes. Click “Tamper Message” to modify the content, then verify again — the signature will fail because the message changed.

Signature Size: Classical vs Post-Quantum

Compare signature sizes across RSA, ECC, and PQC algorithms.

Classical (Quantum Vulnerable)
Ed25519
64 B Broken by quantum
ECDSA P-256
64–72 B Broken by quantum
RSA-2048
256 B Broken by quantum
ML-DSA / Lattice-based (Quantum Safe)
ML-DSA-44
2.4 KB Quantum safe
ML-DSA-87
4.6 KB Quantum safe
SLH-DSA / Hash-based (Conservative)
SLH-DSA-128s
7.8 KB Small variant
SLH-DSA-128f
17 KB Fast variant
SLH-DSA-256f
49 KB Maximum security

Algorithm Selection Guide

📜

Code Signing

ML-DSA-65

Fast verification, reasonable signature size. Good for software packages and updates.

🔒

TLS Certificates

ML-DSA-65 (or hybrid)

Balanced performance for handshakes. Consider signature aggregation for chains.

🏛

Root CA / PKI

SLH-DSA-SHA2-256s or ML-DSA-87

Maximum security for long-lived trust anchors. Hash-based for conservative security assumptions.

📱

IoT / Embedded

ML-DSA-44

Smallest lattice signatures. Fast enough for constrained devices.

🔑

JWT / API Auth

ML-DSA-65

Fast signing and verification for stateless authentication tokens.

📁

Document Signing

ML-DSA-65 + timestamp

Pair with a trusted timestamp for non-repudiation and long-term validity.

OpenSSL Examples

# Generate ML-DSA-65 keypair (requires OpenSSL 3.5+) openssl genpkey -algorithm ML-DSA-65 -out mldsa65.key openssl pkey -in mldsa65.key -pubout -out mldsa65.pub # Sign a message echo "Important document content" > document.txt openssl pkeyutl -sign -inkey mldsa65.key \ -in document.txt -out document.sig # Verify signature openssl pkeyutl -verify -inkey mldsa65.pub -pubin \ -in document.txt -sigfile document.sig # Check signature size ls -la document.sig # document.sig 3309 bytes (ML-DSA-65)
Migrate from Classical Algorithms.

RSA and ECDSA signatures will be forgeable by quantum computers running Shor's algorithm. Start transitioning to ML-DSA or SLH-DSA now to ensure long-term signature integrity.