Class HashUtils
java.lang.Object
blazing.crypto.HashUtils
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HashUtils
public HashUtils()
-
-
Method Details
-
hash
Hashes a String input using the SHA-256 algorithm.- Parameters:
input-- Returns:
- A Result Object which contains a hashed String if successful and a NoSuchAlgorithmException if not.
-
hash
Hashes a String input using Any supported algorithm.- Parameters:
algorithm-input-- Returns:
- A Result Object which contains a hashed String if successful and a NoSuchAlgorithmException if not.
-