Class SearchHashUtils


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

      • SearchHashUtils

        public SearchHashUtils()
    • Method Detail

      • 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