Open jyy1082 opened 6 years ago
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.
Does this project support AES 128/256 encryption?