PDF encryption test files
Use these tiny synthetic PDFs to verify password prompts, local encryption detection, wrong-password handling and revision classification without exposing a private document.
Safe fixture contract
- • Every page contains synthetic text created only for this lab.
- • The published user password is
PdfLab-2026!. - • Opening without a password or with a deliberately wrong password was verified to fail.
- • Each download has a published SHA-256 checksum and contains no customer data.
Download the encrypted PDFs
PDF revision 2 · RC4 40-bit
Reports revision 2 and a 40-bit encryption key. This deliberately weak legacy format exists only for compatibility testing.
SHA-256: 0aad5a0c9316d0c73d55183bad20412cd85b7d4b91516a92f6002b12eee4bcdc
2,173 bytes · one synthetic page
PDF revision 4 · AES-128
Reports revision 4 with AES crypt filters and a 128-bit encryption key.
SHA-256: ab69786c7594f83089eb124739e5cb8156522e904718cd780c756e7111edd4da
2,601 bytes · one synthetic page
PDF revision 6 · AES-256
Reports revision 6 and a 256-bit encryption key. This is the modern AES tier in the test set.
SHA-256: b4683f0da4497ae4e9031306ced167201187a602dba24e49b793e0ce6762eba9
2,915 bytes · one synthetic page
Machine-readable checksums and expected parameters: manifest.json.
Verify the download
Windows PowerShell:
Get-FileHash .\test.pdf -Algorithm SHA256Inspect with qpdf after verifying the checksum:
qpdf --password=PdfLab-2026! --show-encryption test.pdfExpected checks
- Confirm the SHA-256 value matches this page.
- Open without a password and confirm the reader prompts for one.
- Enter a wrong password and confirm access is denied.
- Enter
PdfLab-2026!and confirm the synthetic page opens. - Compare the reported revision and key length with the manifest.
What this lab does not prove
A known-password fixture validates file parsing and authentication only. It does not measure password-recovery speed or predict whether an unknown password can be found. Feasibility depends on the exact encryption revision, the password and the candidate evidence available for that file.