Class NameUtil
java.lang.Object
org.apache.logging.log4j.core.util.NameUtil
-
Method Summary
-
Method Details
-
getSubName
-
md5
Deprecated.Calculates the MD5 hash of the given input string encoded using the default platformcharset
.MD5 has severe vulnerabilities and should not be used for sharing any sensitive information. This function should only be used to create unique identifiers, e.g., configuration element names.
- Parameters:
input
- string to be hashed- Returns:
- string composed of 32 hexadecimal digits of the calculated hash
-