Java: add SHA384 to list of secure algorithms

This commit is contained in:
Jami Cogswell
2024-11-25 09:22:37 -05:00
parent c2b342f1a0
commit 05b6700607
3 changed files with 9 additions and 2 deletions

View File

@@ -246,7 +246,7 @@ string getInsecureAlgorithmRegex() {
string getASecureAlgorithmName() {
result =
[
"RSA", "SHA-?256", "SHA-?512", "CCM", "GCM", "AES(?![^a-zA-Z](ECB|CBC/PKCS[57]Padding))",
"RSA", "SHA-?(256|384|512)", "CCM", "GCM", "AES(?![^a-zA-Z](ECB|CBC/PKCS[57]Padding))",
"Blowfish", "ECIES", "SHA3-(256|384|512)"
]
}