Skip to content
Advertisement

Python Encrypt PDF Simple Method AES 256

I have used this method to encrypt a PDF file with AES 128:

JavaScript

…but is there a similarly-simple way to use AES 256?

Thanks in advance!

Advertisement

Answer

I have the same issue. I use pikepdf to solve it.

JavaScript

By default, pikepdf use AES-256 to encrypt.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement