All rules →
Rules / Java
SHIELD-JAVA-009

Weak Hash Algorithm

mediumJavaCWE-328CVSS 5.9

What it detects

MessageDigest using MD5 or SHA-1 is cryptographically broken and unsuitable for security use.

How to fix

Use SHA-256 or stronger; for passwords use bcrypt, scrypt, or Argon2.

Scan your repo freeFull documentation
Back to all rules
SHIELD-JAVA-009: Weak Hash Algorithm — Zennoxa Shield