Skip to content

Commit

Permalink
Back to 2048 bits for RSA
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Bamberg committed Dec 13, 2018
1 parent e8e6699 commit 1fc61c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web-crypto/sign-verify/rsa-pss.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
window.crypto.subtle.generateKey(
{
name: "RSA-PSS",
modulusLength: 4096,
modulusLength: 2048,
publicExponent: new Uint8Array([1, 0, 1]),
hash: "SHA-256",
},
Expand Down
2 changes: 1 addition & 1 deletion web-crypto/sign-verify/rsassa-pkcs1.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
window.crypto.subtle.generateKey(
{
name: "RSASSA-PKCS1-v1_5",
modulusLength: 4096,
modulusLength: 2048,
publicExponent: new Uint8Array([1, 0, 1]),
hash: "SHA-256",
},
Expand Down

0 comments on commit 1fc61c5

Please sign in to comment.