From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:PDF" |
|---|
| claim | "qpdf handles the Standard security handler with /V 1, 2, 4 or 5 and /R 2 to 6; the key length defaults to 40 bits for V <= 1, 128 for V 4 and 256 for V 5, and for V 2/3 comes from /Length (multiple of 8, 40 to 128, else assumed 128). Only identification of the /Encrypt dictionary is of interest here." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "PDF /Encrypt dictionaries with /Filter /Standard" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "PdfStandardV" |
|---|
| values | | V1_RC4_40 | "1" |
|---|
| V2_RC4_VARIABLE | "2" |
|---|
| V4_CRYPT_FILTERS | "4" |
|---|
| V5_AES256 | "5" |
|---|
|
|---|
| underlying_type | "int" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "R in 2..6 and V in {1,2,4,5} check; Length defaults" |
|---|
| repo | "https://github.com/qpdf/qpdf" |
|---|
| commit | "4eba95899886e851cc41d76886483b347612f2a8" |
|---|
| path | "libqpdf/QPDF_encryption.cc" |
|---|
| lines | "785-860" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Standard security handler V and R accepted" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:42:37.929Z" |
|---|
| verifications | |
|---|