← Back to section · Post-Quantum Cryptography

Against the Classics: What Changed in the Ledger from RSA and ECDSA to Post-Quantum

An RSA-2048 signature is 256 bytes and an Ed25519 signature 64 bytes, yet post-quantum signatures take kilobytes. This article compares classical and post-quantum algorithms on size, speed, and security foundations, explaining why growth was inevitable and which engineering principles did not change.

Published 22 November 2026 · 5 min read · PQ Frontier

Against the Classics: What Changed in the Ledger from RSA and ECDSA to Post-Quantum
AI-generated site artwork
Video explainer · Algorithms compared

Set post-quantum algorithms beside RSA and ECDSA and the first reaction is usually “why so much bigger?” This comparison exists to explain, in one pass, why they grew, what did not change, and which ledgers engineering genuinely has to redo.

Why classical algorithms are so small

An RSA-2048 signature is 256 bytes and its public modulus likewise 256 bytes; an ECDSA P-256 signature is about 70 bytes; Ed25519’s signature is 64 bytes and its public key 32 bytes; X25519’s public key is just 32 bytes. This elegance comes from highly structured mathematics: integer factorization and elliptic-curve discrete logarithms let very short numbers carry very high classical security.

The problem lies precisely in the structure. Shor’s algorithm solves factoring and discrete logarithms in polynomial time on a quantum computer — the mathematical structure classical efficiency depends on is the quantum attack’s doorway. Raising parameters cannot patch this: RSA at 15,360 bits merely delays, while key sizes and computation costs become unusable first. Post-quantum algorithms instead stand on lattice, hash, and code problems with no known quantum shortcut, and the first price of “quantum resistance” is size.

The size ledger: rewritten line by line

On the key-exchange side, X25519’s 32-byte public key becomes ML-KEM-768’s 1,184-byte public key and 1,088-byte ciphertext — roughly 35 times larger. On the signature side, Ed25519’s 64-byte signature becomes ML-DSA-65’s 3,309 bytes, about 50 times larger; SLH-DSA is hundreds of times. Certificate chains, DNS, smart cards, QR-code-carried signatures — every byte-sensitive design must be re-audited against the new ledger: some merely consume more bandwidth; others (a single UDP packet, the secure elements of legacy hardware) simply will not fit.

But the other side deserves a look: the absolute quantities are still small. A few kilobytes of extra handshake are imperceptible on modern broadband, and ML-DSA signatures in a certificate chain only multiply chain length, not explode it. What genuinely does not fit is the extreme constrained scenario, not the average system.

The speed ledger: CPU is not the problem

Intuition says “bigger means slower”; the reality is the opposite. ML-KEM’s encapsulation and decapsulation and ML-DSA’s signing and verification are, on modern CPUs, generally faster than RSA-2048 private-key operations, and in the same league as — or faster than — elliptic-curve operations. The asymmetry of classical RSA (fast verification, slow signing) is flattened in lattice signatures. The true cost ranking of migration is roughly: size assumptions in protocols and middleware; storage and distribution of certificates and keys; implementation and interoperability testing; and only lastly compute.

The yardstick for security levels changed too

Classical-era security levels were habitually quoted as “equivalent symmetric strength”: RSA-2048 corresponds to about 112 bits, P-256 to about 128 bits. Post-quantum security levels are instead defined by NIST’s five categories — anchored to the resources required to break AES-128/192/256 or SHA-256/384 (this site’s foundations track has a dedicated explainer). Note what the yardstick now means: it measures the total resources an attack requires, considering classical and quantum attacks together, rather than a single bit-strength intuition. ML-KEM-512/768/1024 correspond to categories 1/3/5, and ML-DSA and SLH-DSA parameter sets are graded on the same scale, giving cross-algorithm comparison a common language for the first time.

Hybrid mode: the bridge between the old and new worlds

Comparison is not an argument for immediate replacement. Current industry practice is hybrid mode: X25519 and ML-KEM-768 negotiated in parallel, dual signatures issued in parallel — if either side’s assumption holds, the whole is secure. This hedges both the youth of post-quantum assumptions and the two decades of field trust in classical algorithms. The right use of the comparison is therefore not lamenting “the new is N times bigger than the old,” but three steps: inventory which positions hard-code classical sizes, assess which links can bear the new sizes, and order the migration by the confidentiality lifetime of the data. The longer a link’s secrecy must live (long-term archives, traffic exposed to harvest-now-decrypt-later), the earlier it belongs in the queue.

The classics will not vanish tomorrow

The other side of the comparison is the timetable. Elliptic-curve algorithms will serve inside hybrid mode for a long time yet, and RSA will retire slowly from legacy systems; regulatory timelines (such as CNSA 2.0’s) specify phased years, not a single cut-over date. The real picture of post-quantum migration is a long dual-track period: new systems go hybrid or pure post-quantum directly, legacy systems are reworked in order of data lifetime. Understood this way, the comparison reads not as “the classics are dead” but as a prioritized work list — links with the highest harvest-now-decrypt-later risk first, short-lived low-value data links free to queue patiently.

An easily missed comparison item: errors and failure modes

Classical and post-quantum algorithms also fail differently. RSA’s risks historically clustered around padding and implementation detail (the many attacks on PKCS#1 v1.5 padding); elliptic curves’ around randomness quality (ECDSA nonce reuse caused real private-key leaks). Post-quantum algorithms moved the risks: ML-DSA demands attention to rejection-sampling implementation and fault injection, ML-KEM to constant-time decapsulation and implicit rejection, SLH-DSA to hash-implementation correctness. Read failure modes side by side and the migration checklist gains a column: which new audit points correspond, in the new algorithms, to the risk classes the patch era managed in the old ones. Add that column, and the comparison graduates from a size table into a risk map.

Engineering principles: what changed and what did not

What changed: the security foundations (assumption classes), the size magnitudes, and the expectation that “an algorithm can serve for thirty years” — the post-quantum era must design in room for algorithm agility. What did not: private-key secrecy, randomness quality, constant-time implementation, and key management decide life and death on the new algorithms just as on the old. The point of comparing is not nostalgia; it is to mark the construction list: every system that hard-coded a 32-byte public key or a 64-byte signature is a place where work must be done.

Tags: RSAECDSAalgorithm comparisonmigration