Skip to content

Commit 344ecb0

Browse files
authored
Merge pull request #2996 from Rotzbua/patch-1
Add security notice for encryption
2 parents b204da1 + b014100 commit 344ecb0

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)