Skip to content

v2.0.0

Compare
Choose a tag to compare
@Sparticuz Sparticuz released this 14 Sep 17:28
· 69 commits to master since this release

This version refactors the input and output objects.

Migration guide:
v1.x encrypt("test/example.pdf", { password: "1234" }, "encrypted.pdf")
v2.x encrypt({input: "test/example.pdf", password: "1234", output: "encrypted.pdf"})

v1.x decrypt("encrypted.pdf", "1234", "decrypted.pdf")
v2.x decrypt({input: "encrypted.pdf", password: "1234", output: "decrypted.pdf")

Please see the Encryption Interface and the Decryption Interface for more information