Skip to content

Commit b014100

Browse files
authored
Add security notice for encryption
1 parent b204da1 commit b014100

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/js/password.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
var doc = new jsPDF({
2+
// jsPDF supports encryption of PDF version 1.3.
3+
// Version 1.3 just uses RC4 40-bit which is kown to be weak and is NOT state of the art.
4+
// Keep in mind that it is just a minimal protection.
25
encryption: {
36
userPassword: "user",
47
ownerPassword: "owner",

0 commit comments

Comments
 (0)