mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Fix typo and update qldoc
This commit is contained in:
@@ -12,7 +12,7 @@ data.</p>
|
||||
</overview>
|
||||
<recommendation>
|
||||
|
||||
<p>Ensure that you use a strong, modern cryptographic algorithm. Use at least AES-128 or RSA-2048. Do not use the ECB encryption mode since it is vulnerable to reply attacks.</p>
|
||||
<p>Ensure that you use a strong, modern cryptographic algorithm. Use at least AES-128 or RSA-2048. Do not use the ECB encryption mode since it is vulnerable to replay and other attacks.</p>
|
||||
|
||||
</recommendation>
|
||||
<example>
|
||||
|
||||
@@ -98,7 +98,7 @@ string getAnInsecureAlgorithmName() {
|
||||
result = "RC4" or
|
||||
result = "RC5" or
|
||||
result = "ARCFOUR" or // a variant of RC4
|
||||
result = "ECB" or // encryption mode ECB like AES/ECB/NoPadding is vulnerable to replay attacks
|
||||
result = "ECB" or // encryption mode ECB like AES/ECB/NoPadding is vulnerable to replay and other attacks
|
||||
result = "AES/CBC/PKCS5Padding" // CBC mode of operation with PKCS#5 (or PKCS#7) padding is vulnerable to padding oracle attacks
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user