Performance: Password encoding with BCrypt
MEDIUM IMPACT
This affects the server-side processing time during user authentication and registration, impacting response time and user experience.
BCryptPasswordEncoder encoder = new BCryptPasswordEncoder(); String hashed = encoder.encode(password);
String hashed = DigestUtils.md5Hex(password);
| Pattern | CPU Load | Response Time Impact | Security Level | Verdict |
|---|---|---|---|---|
| MD5 hashing | Low | Minimal | Low (insecure) | [X] Bad |
| BCrypt hashing (default strength) | Medium | Moderate | High (secure) | [OK] Good |