PyPDF4
PyPDF4 copied to clipboard
AES encryption
Does this project support AES 128/256 encryption?
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.