Skip to content

Commit 5351f5b

Browse files
owen-mcsmowton
andauthored
Update wording of alert (accepting review suggestion)
Co-authored-by: Chris Smowton <[email protected]>
1 parent 95116ee commit 5351f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/security/Encryption.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ predicate insecureAlgorithm(string name, string reason) {
219219
or
220220
name = "ECB" and
221221
reason =
222-
"Encryption mode ECB like AES/ECB/NoPadding is vulnerable to replay and other attacks. Consider using a different encryption mode, like CBC or GCM, instead."
222+
"Encryption mode ECB, as in AES/ECB/NoPadding for example, is vulnerable to replay and other attacks. Consider using a different encryption mode, like CBC or GCM, instead."
223223
or
224224
name = "AES/CBC/PKCS[57]Padding" and
225225
reason =

0 commit comments

Comments
 (0)