Are blockchain timestamps quantum-safe? What breaks, what holds, and how to design around it
Many document services write a hash to a blockchain and call it proof. That proof leans on elliptic-curve signatures that a quantum computer could forge. Here is which parts of a blockchain timestamp survive and which do not.
How a blockchain timestamp works
You compute a fingerprint of a document, put it (or a Merkle root covering many fingerprints) into a transaction, and the transaction lands in a block. The block has a time, it is linked by hashes to every block before it, and thousands of independent nodes keep a copy. Later, anyone can show that the fingerprint was in the chain by that time, without trusting the service that wrote it.
It is a good idea with two separate claims hidden inside: when the fingerprint was recorded, and who recorded it. Quantum computers affect those two claims very differently.
Where quantum computers hit blockchains
- Transaction signatures: Bitcoin and Ethereum accounts, and Base, which is built on Ethereum, sign transactions with ECDSA over secp256k1 (defined in SEC 2). Shor's algorithm recovers an ECDSA private key from its public key.
- Exposed public keys: an address is a hash of a public key, so an address that has never sent a transaction hides its key. Once it sends one, the public key is visible onchain forever. Any service that anchors regularly has an exposed key.
- Consensus signatures: Ethereum validators sign blocks with BLS signatures over the BLS12-381 curve, also elliptic-curve and also quantum-vulnerable. Base posts its transaction batches to Ethereum, so its long-term finality rests on Ethereum's.
- Hashes: block links, Merkle trees and addresses use hash functions (SHA-256 in Bitcoin, Keccak-256 in Ethereum), which quantum computers only weaken modestly.
What an attacker could do to a timestamping service
Imagine a service whose only proof is "this hash was written to the chain by our address". With a quantum computer, an attacker recovers that address's private key from its public key and starts writing hashes of forged documents from the same address. Every new forgery looks exactly like a genuine anchor. The service's proof of origin is gone.
Rewriting old history is much harder. Old blocks are chained by hashes, which stay strong, and their contents are copied across thousands of nodes, block explorers and archives. Even an attacker able to forge consensus signatures would have to replace a history that many parties already hold and would notice changing. So the old record keeps most of its value as a witness of when, even after its signatures weaken.
| Claim | After ECDSA and BLS are broken |
|---|---|
| This hash existed by block N (when) | Still strong: hash-linked, widely copied history |
| This hash was written by address X (who) | Broken: anyone could sign as X |
| This root covers this document (what) | Still strong if the tree uses a strong hash |
The design rule: chain for when, post-quantum signature for who
The fix is to stop asking the blockchain to prove origin. Sign what you anchor with a post-quantum algorithm whose public key is published separately, and have verifiers require that signature. A forged anchor from your address then fails, because the forger cannot produce the post-quantum signature.
Use a strong hash for the tree as well. A Merkle tree built with SHA-512 keeps the "what" claim at the highest NIST category, independent of the chain's own hash choices.
Keep the two keys apart. The wallet key that sends transactions and the post-quantum key that signs proofs should be different keys of different algorithms. Ours both live in AWS KMS, but only the ML-DSA-87 key can make a proof valid, so an attacker who compromises the wallet key still cannot fake a proof.
How thousands of documents share one transaction
Writing one transaction per document would be slow and expensive, and it would reveal how many documents a service handles. Instead, fingerprints are gathered in a Merkle tree: pairs of hashes are hashed together, level by level, until a single root remains. Only the root goes onchain.
To prove one document is included, you need its fingerprint plus a short list of sibling hashes, one per level of the tree. Recomputing up the tree must give exactly the root in the transaction. With a strong hash like SHA-512, nobody can fit a different document into a published root.
Two privacy details matter. A hash cannot be reversed, so the root reveals nothing about the documents. And when the hashed record includes a random salt, even someone who knows every detail of a contract cannot confirm a guess against the chain.
How signdocumentsonchain.com applies it
Our open-source verifier checks all three and rejects a root without a valid ML-DSA-87 signature, whoever sent the transaction. If ECDSA falls, someone could write fake roots from our address; none would verify. No personal data and no document content go onchain, only hashes.
- Who: every certificate is signed with ML-DSA-87 (FIPS 204) the moment it is issued, so it is authentic on its own, even with no blockchain. Every 10 minutes the batch root is also signed with ML-DSA-87, in a statement that names exactly that root and the chain it goes to. The key lives in AWS KMS; the public key is at /api/v1/pq-key.
- What: the document and the signing record are fingerprinted with SHA-512, and commitments are gathered in a SHA-512 Merkle tree.
- When: the 64-byte root is written to Base in a transaction from our wallet. Base posts its batches to Ethereum, so the record ends up in Ethereum's history too.
Questions to ask any blockchain e-signature service
- Is anything other than the blockchain transaction signing the anchor? If not, origin rests on ECDSA.
- Which hash builds the fingerprint and the Merkle tree? SHA-384 or SHA-512 give the most margin.
- Can I verify without your servers, with a published key and open code?
- What exactly is written onchain? It should be hashes only, never names, emails or content.
- Is the e-signature itself simple, advanced or qualified? A blockchain does not change the legal category. Ours is a simple electronic signature, not a qualified one and not a notarization.
Frequently asked questions
Can a quantum computer break Bitcoin or Ethereum?
A large enough one could forge ECDSA signatures for any address whose public key is exposed, and Ethereum's BLS validator signatures are also elliptic-curve. Hash functions in these chains are only modestly affected. No public quantum computer can do this today.
Is a blockchain timestamp still valid after quantum computers?
As evidence of when a hash existed, mostly yes, because old blocks are hash-linked and widely copied. As evidence of who wrote it, no, unless the anchor is also signed with a post-quantum algorithm.
Which blockchain does signdocumentsonchain.com use?
Base, an Ethereum layer 2. We anchor a SHA-512 Merkle root every 10 minutes and sign each root with ML-DSA-87. Only hashes go onchain.
What if Base stops working?
Each certificate carries its own ML-DSA-87 signature, so it is authentic without any blockchain. The onchain record adds an independent witness of time, and the verifier can read it from any Base node you choose.
Why not use a post-quantum blockchain instead?
The timestamp witness needs to be a widely used, widely copied public chain. Putting the post-quantum signature on our side gives quantum-safe authenticity today without waiting for any chain to migrate.
Sources
- SECG SEC 2: Recommended Elliptic Curve Domain Parameters (secp256k1) https://www.secg.org/sec2-v2.pdf
- NIST FIPS 186-5: Digital Signature Standard (ECDSA) https://csrc.nist.gov/pubs/fips/186-5/final
- Ethereum.org: keys in proof-of-stake Ethereum (BLS12-381) https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/keys/
- Base documentation: transaction finality https://docs.base.org/base-chain/network-information/transaction-finality
- NIST IR 8547: Transition to Post-Quantum Cryptography Standards https://csrc.nist.gov/pubs/ir/8547/final
- NIST FIPS 204: Module-Lattice-Based Digital Signature Standard https://csrc.nist.gov/pubs/fips/204/final
- Shor (1995): Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer https://arxiv.org/abs/quant-ph/9508027
Keep reading
"Harvest now, decrypt later" is the quantum threat everyone quotes. Signed documents face a different one: the day RSA and ECDSA fall, old signatures stop proving anything unless something else backs them up.
How to verify a post-quantum signed document yourself, step by stepA proof is only worth something if you can check it without asking the company that made it. Here is how to check one of our certificates in your browser, on the command line, offline, or against your own blockchain node.
SHA-512 vs SHA-256 in a quantum world: is SHA-256 still enough?Quantum computers break RSA and ECDSA outright, but they only dent hash functions. The dent is why the NSA asks for SHA-384 or SHA-512 and why we fingerprint every document with SHA-512.
Quantum-safe electronic signatures: what they are and why your contracts need oneMost signed contracts today are protected by RSA or elliptic-curve cryptography, which a large quantum computer could break. A quantum-safe signature uses algorithms built to survive that day.
Post-quantum cryptography for banks and fintech: what regulators expect and where signed documents fitFinancial authorities have moved from awareness to roadmaps. Most of the attention goes to payments and networks, but loan agreements, guarantees and KYC records are also long-lived signed data that must stay provable for years.