pdf-lib icon indicating copy to clipboard operation
pdf-lib copied to clipboard

How to decrypt a pdf doc by using pdf-lib

Open OuYangHuaQing opened this issue 2 years ago • 2 comments

Describe your idea

I want to decrypt and encrypt a pdf in web,how to do?

How could this be implemented?

I don't konw

What problem are you trying to solve?

I want to decrypt and encrypt a pdf in web,how to do?

Why does this matter to you?

I want to decrypt and encrypt a pdf in web,how to do?

Would others find this helpful?

no

Are you interested in implementing your proposal?

Yes

Why are you submitting a proposal?

I want to decrypt and encrypt a pdf in web,how to do?

Additional Notes

No response

OuYangHuaQing avatar Oct 22 '23 15:10 OuYangHuaQing

decryption can be done in @cantoo/pdf-lib fork of the project. encryption cannot be done with this lib for now but might be made available in the future, as there is an opened PR about it.

Sharcoux avatar Nov 10 '23 19:11 Sharcoux

Thank you very much

OuYangHuaQing avatar Nov 20 '23 03:11 OuYangHuaQing