All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.java.rules.squid.S2257.html Maven / Gradle / Ivy

There is a newer version: 8.6.0.37351
Show newest version

The use of a non-standard algorithm is dangerous because a determined attacker may be able to break the algorithm and compromise whatever data has been protected. Standard algorithms like SHA-256, SHA-384, SHA-512, ... should be used instead.

This rule tracks creation of java.security.MessageDigest subclasses.

Noncompliant Code Example

MyCryptographicAlgorithm extends MessageDigest {
  ...
}

See





© 2015 - 2025 Weber Informatics LLC | Privacy Policy