Standards matrix

PDF encryption standards matrix

This page compares the fields and mechanisms a parser sees in an encrypted PDF. It is organized by security-handler structure—not by product release date and not by recovery promises.

Scope

Use this matrix to classify `/V`, `/R`, `/Length`, crypt filters, and credential roles. Use the history page for chronology and the mode pages for individual verifier implementations.

Handler

Standard Security Handler

Families

RC4 · AES-128 · AES-256

Key fields

V · R · Length · CF

Credentials

User/open · owner/permissions

The encryption dictionary is the classification source

The trailer points to an encryption dictionary. Its filter, algorithm version `/V`, security revision `/R`, key length, permissions value, metadata flag, and crypt-filter entries describe how the file key protects objects and how passwords are validated.

Do not classify a PDF from its filename, Acrobat marketing label, or creation date. A newer application can resave an older document with a different handler, and malformed or partial files can hide required fields.

R2: 40-bit RC4

Revision 2 uses a short 40-bit file key and RC4 object encryption. The key length is the defining weakness; the password can be long while the effective file key remains only five bytes.

This family has special legacy analysis and collider modes. Treat every result as a candidate that must be verified against the original PDF rather than as proof from a mode label alone.

R3 and R4: 128-bit generation

Revision 3 expands the file key and password processing. Revision 4 introduces crypt filters so different streams or strings can use RC4 or AES-128 depending on `/CF`, `/StmF`, and `/StrF`.

The same broad PDF generation can therefore contain different ciphers. Read the crypt-filter configuration instead of assuming that every 128-bit file is AES or that every mode-10500 record is interchangeable.

R5 and R6: AES-256 with different password processing

Revision 5 introduced AES-256 and new entries for encrypted file-key material. Revision 6 retained AES-256 but replaced the revision-5 password validation with a hardened iterative construction.

Cipher key length alone does not determine candidate cost. R5 and R6 both say AES-256 while using materially different password-validation work, which is why they map to separate reference and hashcat modes.

User and owner credentials

The user or document-open password authorizes content access. The owner or permissions credential controls allowed operations in cooperating readers. Older revisions derive and store these relationships differently from modern AES-256 handlers.

A parser must report which credential a workflow targets. Removing permissions, finding a document-open password, and recovering an owner credential are different tasks even when they share one encryption dictionary.

Primary references

Frequently asked questions

Does AES-256 always mean revision 6?

No. Revision 5 and revision 6 both use AES-256 but have different password-validation constructions.

Does mode 10500 prove the file uses AES-128?

No. Inspect the extracted record and crypt filters. The 128-bit generation can involve RC4 or AES depending on revision and configuration.

Can a PDF version number alone select the mode?

No. Read the encryption dictionary and extracted verifier fields; applications can resave documents with different handlers.