File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
javascript/ql/src/Security/CWE-326 Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE qhelp PUBLIC
2
+ "-//Semmle//qhelp//EN"
3
+ "qhelp.dtd">
4
+ <qhelp >
5
+
6
+ <overview >
7
+ <p >
8
+ Modern encryption relies on it being computationally infeasible to break the cipher and decode a message without the key.
9
+ As computational power increases, the ability to break ciphers grows and keys need to become larger.
10
+ </p >
11
+ </overview >
12
+
13
+ <recommendation >
14
+ <p >
15
+ An encryption key should be at least 2048-bit long when using RSA encryption, and 128-bit long when using
16
+ symmetric encryption.
17
+ </p >
18
+ </recommendation >
19
+
20
+ <references >
21
+ <li >
22
+ Wikipedia:
23
+ <a href =" https://en.wikipedia.org/wiki/RSA_(cryptosystem)" >RSA</a >.
24
+ </li >
25
+ <li >
26
+ Wikipedia:
27
+ <a href =" https://en.wikipedia.org/wiki/Advanced_Encryption_Standard" >AES</a >.
28
+ </li >
29
+ <li >
30
+ NodeJS:
31
+ <a href =" https://nodejs.org/api/crypto.html" >Crypto</a >.
32
+ </li >
33
+ <li >
34
+ NIST:
35
+ <a href =" https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar1.pdf" >
36
+ Recommendation for Transitioning the Use of Cryptographic Algorithms and Key Lengths</a >.
37
+ </li >
38
+ <li >
39
+ Wikipedia:
40
+ <a href =" https://en.wikipedia.org/wiki/Key_size" >Key size</a >
41
+ </li >
42
+ </references >
43
+ </qhelp >
You can’t perform that action at this time.
0 commit comments