Skip to content

Commit 9364697

Browse files
committed
Java: Add SHA512 to the crypto whitelist.
1 parent d2f8029 commit 9364697

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ string algorithmBlacklistRegex() {
120120
private string algorithmWhitelist() {
121121
result = "RSA" or
122122
result = "SHA256" or
123+
result = "SHA512" or
123124
result = "CCM" or
124125
result = "GCM" or
125126
result = "AES" or

0 commit comments

Comments
 (0)