signdocumentsonchain.com
CNSA 2.0 · ML-DSA-87 · SHA-512 · AES-256

Our cryptography, in full

Built exclusively on NSA CNSA 2.0 algorithms (ML-DSA-87, SHA-512, AES-256). Every proof we issue carries a post-quantum signature, so a future quantum computer could not forge it. Here is every algorithm we use, what it protects, and the few places where someone else chooses for us.

Three algorithms, nothing else

CNSA 2.0 is the set of algorithms the NSA publishes to protect national security systems against quantum computers. For a product like ours it comes down to three. Every security decision that is ours to make uses one of them.

ML-DSA-87FIPS 204

Digital signatures. Post-quantum, at the highest security level of FIPS 204. The private key lives in AWS KMS and never leaves it: every signature is a request to KMS.

Used for
  • Every anchored batch: the Merkle root written to Base every 10 minutes.
  • Every certificate, the moment it is issued (signed documents and sanctions screenings).
  • Every verified-identity attestation, recorded on Base with the identity token.
SHA-512FIPS 180-4

Hashing. The only hash function we choose, for fingerprints, commitments, stored secrets and message authentication.

Used for
  • The fingerprint of every document, and of each file in a bundle.
  • The signing record: the commitment is the SHA-512 of the canonical manifest.
  • The Merkle tree that gathers many commitments into one onchain root.
  • Sign-in links, sessions, signing links, team invites and API keys: we store only their SHA-512, never the secret.
  • HMAC-SHA512 for download links, webhooks (signature "v2,") and ID document numbers.
  • The fingerprint of our own public key.
AES-256-GCMFIPS 197 · SP 800-38D

Encryption at rest. Authenticated encryption with a 256-bit key: a stored file cannot be read, or changed without detection, without the key.

Used for
  • Every document: the original upload and the signed PDF.
  • Sanctions screening certificates.
  • Webhook secrets, Google Drive connections and the legal names from identity checks.

What we sign with ML-DSA-87

Each signature covers a short JSON statement (keys sorted, no whitespace), signed in FIPS 204 pure mode with an empty context. Anyone can check it with any FIPS 204 implementation and our public key.

Every anchored batch

The Merkle root of every certificate completed in a 10-minute window, and the chain it is written to. This signature, not the blockchain, proves the batch came from us.

Signed statement
{"chainId","sha512Root","signedAt","type":"signdocumentsonchain/anchor-batch","v":2}
Every certificate

Signed the moment it is issued, before its batch is anchored. It travels in certificate.json and inside the signed PDF as the attachment signdocumentsonchain-signature.json, so the certificate is authentic on its own, even with no blockchain at all.

Signed statement
{"commitment","issuedAt","kind","type":"signdocumentsonchain/certificate","v":1}
Every verified identity

When an identity token is minted, the attestation and its signature are emitted onchain as the Attested event. No personal data: holder address, ID country, dates and the sanctions result. A token without a valid attestation is not ours, whoever minted it.

Signed statement
{"chainId","contract","documentCountry","holder","issuedAt","sanctions","type":"signdocumentsonchain/identity","v":1,"verifiedAt"}

Identity contract v2 on Base: 0x1bb5d86a491eeab397431d75e75357fdb3a133df

Why a quantum computer could not forge our proofs

Base, like Ethereum and Bitcoin, is secured by elliptic-curve signatures (ECDSA). A large enough quantum computer could one day break them and send transactions as if it were us. Hash functions like SHA-512 are not meaningfully weakened by quantum computers, and ML-DSA-87 was designed to resist them.

So we never ask the blockchain to prove authenticity. Each proof splits the job in three:

Who
ML-DSA-87

ML-DSA-87 proves that signdocumentsonchain.com vouched for this exact batch, certificate or identity.

What
SHA-512

SHA-512 proves the document and its signing record are exactly the ones that were sealed.

When
Base

Base is a public timestamp witness: thousands of independent nodes agree on when the root was written.

If ECDSA falls, someone could write fake roots to Base from our address. They would not have our ML-DSA-87 signature, so the verifier would reject every one of them.

Check it yourself

Nothing on this page asks you to take our word for it.

  1. Download our public key from /api/v1/pq-key. Its SHA-512 fingerprint is below and in the verifier's key.mjs file: compare them.
  2. Download the open-source verifier (MIT license). It recomputes the commitment and the Merkle proof, checks both ML-DSA-87 signatures and reads the Base transaction.
  3. Run it offline to check only hashes and signatures, or point it at your own Base node so you trust no one, us included.
Public key fingerprint (SHA-512 of the raw 2,592-byte ML-DSA-87 key)
1b00d88f3c74937d150c6e4b1d28ef1b00a1ae02608762f267229598e510dc86c4338dc2cdf068a652a6c01514d8877edbf677c407934d37292106a719b4b155

Outside our control

Some cryptography is chosen by the services and protocols we have to work with. None of it is used to make or check a proof, but you should know where it is.

HTTPS (TLS)Connections to our site are encrypted by Vercel, our host. The key exchange and certificates depend on Vercel and on your browser, not on us.
Payments and identity checksCard payments and ID document and selfie checks run on Stripe, with Stripe's own cryptography. We receive the result, never your card number.
EmailOur emails go out through Amazon SES, signed with DKIM using the algorithms email providers support today. A sign-in link is only as safe as your mailbox.
Google sign-in and Google DriveGoogle only accepts PKCE with SHA-256 (S256, RFC 7636) for OAuth. We compute that one SHA-256 because the protocol demands it.
Crypto payment notificationsAlchemy signs its webhooks with HMAC-SHA256. We check that signature in Alchemy's format, then re-read every transfer onchain before crediting it.
Tron addressesTron address checksums use double SHA-256 as part of the address format. They catch typos; they are not a security control of ours.
The blockchain itselfBase transactions are ECDSA (secp256k1) signatures over Keccak-256 hashes; our wallet key lives in AWS KMS. That is exactly why Base is only a timestamp witness and ML-DSA-87 carries authenticity.

CNSA 2.0 milestones

The NSA's dates for national security systems, for context.

  1. 2022The NSA announces CNSA 2.0, its post-quantum algorithm suite.
  2. 2024NIST publishes FIPS 204, the ML-DSA standard.
  3. 2025Web browsers, servers and cloud services should support and prefer CNSA 2.0 algorithms.
  4. 2033Those same systems should use CNSA 2.0 algorithms exclusively.
  5. 2035Target for every national security system to be quantum-resistant.

CNSA 2.0 is a list of algorithms the NSA publishes for national security systems. We follow the NSA's post-quantum guidance by using only those algorithms; the NSA has not reviewed or tested this product.