Package net.atthegate.server.service
Class HashHelper
java.lang.Object
net.atthegate.server.service.HashHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
computeHashValue
(String stringToHash, String saltCode) Hashes the supplied object's public invalid input: '&' non-null properties in ascending order, using the supplied salt key
-
Constructor Details
-
HashHelper
public HashHelper()
-
-
Method Details
-
computeHashValue
public static String computeHashValue(String stringToHash, String saltCode) throws NoSuchAlgorithmException Hashes the supplied object's public invalid input: '&' non-null properties in ascending order, using the supplied salt key- Parameters:
stringToHash
- The object with the values to hashsaltCode
- The salt key- Returns:
- A Base 64 encoded string of the hash value
- Throws:
NoSuchAlgorithmException
-