v2.0.0
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