Package de.hybris.platform.hac.util
Class HacAuditUtil
java.lang.Object
de.hybris.platform.hac.util.HacAuditUtil
Helper class providing tools for auditing HAC.
-
Method Summary
Modifier and TypeMethodDescriptiongenerateSHA256Signature(String value) Generates digital signature for the input string that uniquely identifies it.static StringnormalizeEOL(String value) Normalizes line endings of the input string to UNIX format.
-
Method Details
-
normalizeEOL
Normalizes line endings of the input string to UNIX format.- Parameters:
value- string to be normalized- Returns:
- normalized string
-
generateSHA256Signature
Generates digital signature for the input string that uniquely identifies it. This method uses SHA-256 Hashing Algorithm.- Parameters:
value- original string to be hashed- Returns:
- digital signature (256-bit hash value)
-