PyPDF4 icon indicating copy to clipboard operation
PyPDF4 copied to clipboard

AES encryption

Open jyy1082 opened this issue 7 years ago • 1 comments

Does this project support AES 128/256 encryption?

jyy1082 avatar Nov 28 '18 07:11 jyy1082

PyPDF indeed supports file encryption, but I never worked on that feature nor can say how it was implemented. For finding it out yourself, check the PdfFileReader and PdfFileWriter classes in pdf.py.

There's another annexed, similar module, that you might consider, namely filters.py. It has no encryption mechanisms but just primitives to compress/decompress data inside PDF filters.

acsor avatar Nov 28 '18 09:11 acsor