Class JUtils
java.lang.Object
org.sentrysoftware.metricshub.engine.common.helpers.JUtils
Utility class for various Java-related operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringencodeSha256(String input) Encodes the input string using the SHA-256 algorithm and returns the result in hexadecimal format.
-
Constructor Details
-
JUtils
public JUtils()
-
-
Method Details
-
encodeSha256
Encodes the input string using the SHA-256 algorithm and returns the result in hexadecimal format.- Parameters:
input- String to convert- Returns:
- the encoded string in hex
-