I am working on PDF security and trying to encrypt the password of the user and owner using AES 256-bit encryptionalgo.
I have successfully generated these keys (using the library crypto), but when these keys are written in PDFthe encryption dictionary, they do not seem to work. ( Acrobatdoes not open file)
I learned iTextSharpthat encrypts a file PDF. Now I want to decrypt this file so that some of them understand how it did iTextSharp. But, unfortunately, I did not find any tool for this. A file encrypted with iTextSharpis opened correctly in Adobe Acrobat.
source
share