Class SearchHashUtils

java.lang.Object
com.avoka.tm.util.SearchHashUtils

public class SearchHashUtils extends Object
Provides search hash utils for submission property and data extract values.
Since:
18.11.0
  • Constructor Details

    • SearchHashUtils

      public SearchHashUtils()
  • Method Details

    • toHash

      public static String toHash(String string)
      Encodes the string provided using the class' hash salt. Hash will be calculated using the uppercase version of the string.
      Parameters:
      string - to hash (required)
      Returns:
      hashed string
    • toHashAsPlain

      public static String toHashAsPlain(String string)
      Encodes the string provided using the class' hash salt, Support for previous versions that did not turn string into uppercase.
      Parameters:
      string - to hash (required)
      Returns:
      hashed string