Closed dvishal485 closed 1 year ago
Hi, it's not in the current implementation, I haven't figured out yet the ergonomic way of adding it in the Rust code. It's quite complicated with tons of parameters: https://qpdf.readthedocs.io/en/stable/encryption.html#pdf-encryption
But in principle it's possible to implement.
Okay! Thanks for the quick response and more importantly for this project. Great work.
I have added some initial support for encryption.
Thanks a lot for the prompt response!
Can we not use
qpdf-rs
to encrypt pdf file? I couldn't find any similiar method to encrypt a non-encrypted pdf file in the documentation. Here is the relevant documentation from qpdf