Class HashHelper

java.lang.Object
net.atthegate.server.service.HashHelper

public final class HashHelper extends Object
  • 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 hash
      saltCode - The salt key
      Returns:
      A Base 64 encoded string of the hash value
      Throws:
      NoSuchAlgorithmException