All rules →
Rules / Kotlin
SHIELD-KOTLIN-009

Weak hash algorithm via MessageDigest.getInstance

mediumKotlinCWE-327CVSS 5.9

What it detects

MessageDigest.getInstance with MD5 or SHA-1 uses a broken hash unsuitable for security purposes.

How to fix

Use SHA-256 or stronger, and for passwords use a KDF such as bcrypt, scrypt, or PBKDF2.

Scan your repo freeFull documentation
Back to all rules
SHIELD-KOTLIN-009: Weak hash algorithm via MessageDigest.getInstance — Zennoxa Shield