Cryptographic Signatures Explained: RSA-4096 with SHA-256
A cryptographic signature shows that data has not changed since it was signed. As of 2026, ProofSnap hashes every captured file of an evidence package with SHA-256, lists the hashes in manifest.json and signs that manifest with a fresh RSA-4096 key using sha256WithRSAEncryption. Change one byte of a captured file and its hash no longer matches.
What is a cryptographic signature?
A cryptographic signature, usually called a digital signature, is a value computed from data with a private key, which anyone holding the matching public key can check. If the check passes, two things are established: the data is bit-for-bit identical to the data that was signed, and the signature was made with that private key. If a single bit of the data changes afterward, the check fails.
For digital evidence, the signature is one of three layers. A screenshot or a saved web page has no physical seal, so a court or an opposing expert will ask how anyone can tell that the file was not edited after capture. The signature shows that a package is internally consistent: every captured file matches its hash in the manifest, and the manifest is exactly the one that was signed. Because the public key travels inside the package, what exposes an edited and re-signed copy is the timestamp on the manifest hash, which the hash of an altered manifest can no longer match.
See a signed evidence package
Download a real ProofSnap package with manifest.json, manifest.sig and publickey.pem, then run the verification commands below on it.
Download the sample packageRSA vs SHA-256: three layers, three jobs
RSA and SHA-256 are often named together, as in "RSA-SHA256", but they are different tools. SHA-256 is a hash function: it needs no key and turns any file into a 64-character fingerprint. RSA is a public-key algorithm: it signs with a private key and verifies with a public one. A timestamp is a third, separate layer. In a ProofSnap evidence package each layer answers one question, and none of them can do the job of the others:
| Layer | File in the package | Question it answers |
|---|---|---|
| SHA-256 (and SHA-512) hash of each file | manifest.json | Is this file exactly the one that was captured? |
| RSA-4096 signature over the manifest | manifest.sig, publickey.pem | Is the list of hashes exactly the one that was signed? |
| Timestamp on the manifest hash | manifest.json.ots, manifest.json.tsr | By what date did this manifest exist, and is this the original? |
SHA-256 is deterministic (the same input always gives the same hash), one-way (the input cannot be rebuilt from the hash) and collision-resistant (no one has ever found two different inputs with the same SHA-256 hash). The avalanche effect is easy to see. These are the real SHA-256 hashes of two sentences that differ only in the capitalization of one letter:
"ProofSnap is awesome"
d84c122f923785536d334a075adbde6da9d306af66ba7e2f24eca9543efe715f
"ProofSnap is Awesome"
324cc5da7c5556dbc569457ea778318aca41dc6ebf499a793b4a2a89f4519dfa
How SHA-256 with RSA signs a file
The scheme behind the names "SHA-256 with RSA", "RSA-SHA256" and the algorithm identifier sha256WithRSAEncryption is RSASSA-PKCS1-v1_5 with SHA-256, the signature scheme that ProofSnap uses. The word "Encryption" in the name is historical: nothing is encrypted for secrecy, and describing a signature as "encrypting the hash with the private key" is a simplification that breaks down for other RSA schemes. Signing and verifying work in five steps:
- Hash. Compute the SHA-256 hash of the data, here the bytes of
manifest.json. - Encode. Wrap the hash in a fixed structure that names SHA-256 as the algorithm, then pad it to the length of the key, 512 bytes for RSA-4096.
- Sign. Apply the RSA private-key operation (raise the padded value to the private exponent d modulo n). The result is the signature, 512 bytes long.
- Verify. Anyone can apply the public-key operation (exponent e, normally 65537) to the signature and recover the padded hash.
- Compare. The verifier hashes the data independently. If the two hashes match, the signature is valid; if even one bit of the data has changed, they do not.
What does RSA-4096 mean?
RSA-4096 means the modulus n is 4096 bits long, the product of two secret primes of about 2048 bits each. Its security rests on the difficulty of factoring n back into those primes. The public key is the pair (e, n); the private key is built around the secret exponent d.
Is RSA-4096 secure?
Yes, against every known classical attack. NIST's key management guideline, SP 800-57 Part 1 Rev. 5 (2020), rates key sizes by their "security strength" in bits and lists RSA at these levels. RSA-4096 is not listed separately; it sits between the 128-bit and 192-bit rows:
| RSA modulus | Security strength | Comparable symmetric key |
|---|---|---|
| 2048 bits | 112 bits | none in AES (3TDEA) |
| 3072 bits | 128 bits | AES-128 |
| 4096 bits (ProofSnap) | not listed by NIST; between the 128-bit and 192-bit rows | between AES-128 and AES-192 |
| 7680 bits | 192 bits | AES-192 |
| 15,360 bits | 256 bits | AES-256 |
Two common questions follow from the table. RSA-2048 vs RSA-4096: RSA-2048 is still approved, but RSA-4096 offers a larger security margin, and its only cost, slower signing, is irrelevant when an evidence package is signed once. RSA-4096 vs AES-256: they do different jobs (AES-256 encrypts, RSA signs), and by NIST's comparison an RSA key would need 15,360 bits to match AES-256. The same NIST table carries a warning that the estimates "will be significantly affected when quantum computing becomes a practical consideration", which is the subject of the next section.
Is RSA being phased out?
Yes, on a fixed schedule. On October 27, 2026, NIST published the final version of NIST IR 8547, Transition to Post-Quantum Cryptography Standards. It covers RSA, ECDSA and EdDSA (including Ed25519) alike, at every approved key size, and states:
"NIST will instead deprecate all quantum-vulnerable digital signature algorithms after 2030 and disallow their use under NIST standards and guidelines after 2035."
NIST IR 8547 (final), October 2026, section 4.1.1
The replacements are post-quantum signature schemes such as ML-DSA (FIPS 204). Retirement does not void existing signatures: the same report defines "legacy use" as using an algorithm "only to process already protected information (e.g., to decrypt ciphertext data or to verify a digital signature)". For evidence, the real question is whether an RSA-signed package keeps its date once RSA is retired, and the answer lies in the timestamp layer. A manifest altered in 2040 and re-signed would have a SHA-256 hash that differs from the hash anchored in a 2026 Bitcoin block or in a 2026 qualified timestamp, so in a package that carries either one, the original date stays provable and a later forgery cannot be backdated.
How ProofSnap signs an evidence package
ProofSnap is a browser extension that captures a web page as an evidence package of 11, 12 or 15 files, depending on the plan. The package is sealed in the browser, through the Web Crypto API, in five steps for every capture:
- Hash every captured file. Each captured file (screenshot, HTML, PDF report, metadata, chain of custody and the rest) gets a SHA-256 hash, a SHA-512 hash and its byte length.
- Write the manifest. The hashes go into
manifest.json, together with the capture ID, the URL and the capture time. - Generate a fresh key. A new RSA-4096 key pair is created for this capture only. The private key is never saved to disk and never sent to any server, ProofSnap's included.
- Timestamp. The SHA-256 hash of the manifest is anchored in Bitcoin through OpenTimestamps (
manifest.json.ots, on every plan except Essential unless the capture uses a paid SnapPack credit) and, on eIDAS plans, stamped by a qualified trust service provider (manifest.json.tsr). - Sign. The manifest is signed with RSASSA-PKCS1-v1_5 and SHA-256. The 512-byte signature is saved as
manifest.sig, the public key aspublickey.pem.
Every ProofSnap manifest records two hashes per captured file, SHA-256 and SHA-512, plus its byte length, and one 512-byte manifest.sig seals all of them. A shortened manifest.json has this structure (hash values abbreviated):
{
"version": "2.1",
"capture_id": "ps_6f1c2e0a-...",
"source": "ProofSnap Extension",
"test_mode": false,
"url": "https://example.com/post/123",
"captured_at": "2026-10-29T09:14:03.512Z",
"c2pa_included": true,
"hash_algorithm": "SHA-256",
"files": [
{ "name": "screenshot.jpeg", "sha256": "eef1487b...", "sha512": "9a0c...", "bytes": 1843201 },
{ "name": "page.html", "sha256": "23efcc57...", "sha512": "41d7...", "bytes": 512844 },
{ "name": "evidence.pdf", "sha256": "9fde94a5...", "sha512": "c3e2...", "bytes": 2210457 },
{ "name": "publickey.pem", "sha256": null },
{ "name": "manifest.sig", "sha256": null }
]
}
Why a new RSA key for every capture?
Because the key never has to be kept, it cannot be stolen, lost or misused for a later package. The signature seals one package; the timestamp, not the key, ties that package to a date and exposes a re-signed copy. For a file-by-file walk-through of the rest of the package, see how to read an evidence package.
How to verify the signature yourself
Verifying a ProofSnap signature needs no ProofSnap account and no ProofSnap server. Unzip the package, open a terminal in that folder and run:
openssl dgst -sha256 -verify publickey.pem -signature manifest.sig manifest.json
Verified OK
"Verified OK" means the manifest is exactly the one that was signed. Then recompute the hash of each file (shasum -a 256 screenshot.jpeg on macOS, sha256sum on Linux, Get-FileHash in PowerShell, or the free SHA-256 hash checker in the browser) and compare it with the value listed in manifest.json. Every package already contains verification/verify.sh, verification/verify.ps1 and a plain-text verification/VERIFICATION_GUIDE.txt. The two scripts run both checks plus the eIDAS timestamp check and print the command for the OpenTimestamps check. The Bitcoin anchor is checked with ots verify manifest.json.ots -f manifest.json, or online as described in how to verify an OpenTimestamps file. If you prefer a browser, the free Trust Verifier checks the hashes and the signature locally without uploading the ZIP, and sends only the manifest and the proof files to ProofSnap's verification service for the timestamp checks. A full step-by-step walk-through is in how to verify an evidence package.
What the signature proves, and where the date comes from
A valid signature and matching hashes prove integrity: the package is internally consistent, exactly as it was sealed. The RSA signature in a ProofSnap package is a technical seal, not a signature of a person; eIDAS reserves the equivalent legal effect of a handwritten signature for a qualified electronic signature. The seal also says nothing about who wrote the captured page or whether its content is true.
What gives signed evidence its date?
The date comes from the timestamp layer. OpenTimestamps proves that the manifest existed no later than the time of the Bitcoin block it is anchored in. For courts in the EU, the stronger layer is a qualified electronic time stamp: on the Enterprise and Company plans and with an eIDAS SnapPack, ProofSnap obtains it from Disig a.s., a qualified trust service provider on the EU Trusted List. Article 41(2) of eIDAS gives it a legal presumption:
"A qualified electronic time stamp shall enjoy the presumption of the accuracy of the date and the time it indicates and the integrity of the data to which the date and time are bound."
Regulation (EU) No 910/2014, consolidated text of October 18, 2024
Because the qualified timestamp is bound to the manifest hash, the presumption covers the whole signed list of file hashes. More on how it works in practice: eIDAS qualified timestamps and, for the US, self-authenticating web evidence in federal court.
Capture a page as signed evidence
Every ProofSnap capture is hashed and signed with its own RSA-4096 key, ready to verify with one OpenSSL command.
Add ProofSnap to ChromeFrequently asked questions
Is RSA-4096 secure?
Yes, against every known classical attack. NIST SP 800-57 Part 1 (2020) rates 3072-bit RSA at 128 bits of security strength, and 4096 bits sits above that. The open risk is a future large quantum computer, which is why NIST IR 8547 (October 2026) deprecates RSA signatures after 2030 and disallows them under NIST standards and guidelines after 2035; verifying existing signatures stays allowed as legacy use.
RSA-2048 or RSA-4096: which is better for signing evidence?
RSA-2048 gives 112 bits of security strength according to NIST SP 800-57 Part 1 (2020), and RSA-4096 gives more than 128. The only cost of the larger key is slower signing, which does not matter when a package is signed once. ProofSnap uses RSA-4096 for every capture.
Is RSA-4096 stronger than AES-256?
No, and they do different jobs: AES-256 encrypts data, RSA-4096 signs it. NIST SP 800-57 Part 1 (2020) puts a 15,360-bit RSA key on par with AES-256 and a 3072-bit key on par with AES-128.
What is sha256WithRSAEncryption?
It is the standard name for an RSA signature over a SHA-256 hash with PKCS #1 v1.5 padding, also written RSASSA-PKCS1-v1_5 with SHA-256 or RSA-SHA256. The name is historical: the signature encrypts nothing for secrecy. ProofSnap signs manifest.json with exactly this scheme.
What is the difference between RSA and SHA-256?
SHA-256 is a hash function: it turns a file into a 64-character fingerprint and needs no key. RSA is a public-key algorithm: it signs data with a private key so anyone holding the public key can check it. A signature uses both: SHA-256 to fingerprint the data and RSA to sign the fingerprint.
Can a ProofSnap package be forged or re-signed?
The RSA signature itself cannot be forged with any known classical method, and the private key of each capture is never saved or sent, so no one, ProofSnap included, can reuse it. A forger could only alter files and re-sign the package with a new key. That copy would no longer match the manifest hash anchored in the OpenTimestamps proof or the eIDAS timestamp, which is what would expose it.
Is the RSA signature in a ProofSnap package a legal electronic signature?
No, and it is not meant to be one. It is an integrity seal over the package, not a signature of a person. eIDAS gives the equivalent legal effect of a handwritten signature to a qualified electronic signature. What gives the package its date is the timestamp: OpenTimestamps, and on eIDAS plans a qualified electronic time stamp.
How do I verify manifest.sig?
Unzip the package and run openssl dgst -sha256 -verify publickey.pem -signature manifest.sig manifest.json in that folder. OpenSSL prints "Verified OK" when the signature matches. The bundled verification/verify.sh and verify.ps1 scripts run the same check and also verify every file hash.
How do I create an RSA-4096 signature with SHA-256 in OpenSSL?
Generate a key with openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out private.pem, export the public key with openssl pkey -in private.pem -pubout -out publickey.pem, then sign with openssl dgst -sha256 -sign private.pem -out manifest.sig manifest.json. By default this produces the same PKCS #1 v1.5 signature that ProofSnap writes, so the same verify command checks it.
What happens to signed evidence if RSA is broken later?
In a package that carries an OpenTimestamps proof or an eIDAS timestamp, the date still holds. Both bind the SHA-256 hash of manifest.json to a point in time. If someone later forged an RSA signature over a different manifest, that manifest would have a different hash, and it would not match the hash anchored in the earlier Bitcoin block or qualified timestamp.
Related articles
Blockchain Timestamping
How ProofSnap anchors the manifest hash in the Bitcoin blockchain.
VerificationHow to Verify an OpenTimestamps File
Three free ways to check a .ots proof against its file.
EvidenceAre Screenshots Admissible in Court?
What courts ask about a screenshot before they accept it.
GuideHow to Verify an Evidence Package
Check the hashes, signature and timestamps of a ProofSnap package step by step.