You can't do that. The library is obviously not going to reveal to you what the password was...
On Wed, Jan 3, 2018 at 9:29 AM, Hesham Gneady <[email protected]> wrote: > Hello, > > > > I have a PDF file that has an owner password & user password. I'd like to > decrypt it using the owner password, make some modifications to it, then > encrypt it back and save it. I did the first part successfully, but how can > I encrypt it again using the same encryption settings it had, which I don't > actually know? . For example, I know only the owner password, but not the > user password. > > > > > > Best regards, > > Hesham > > > > > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus >

