Package com.avoka.tm.util
Class SearchHashUtils
- java.lang.Object
-
- com.avoka.tm.util.SearchHashUtils
-
public class SearchHashUtils extends java.lang.Object
Provides search hash utils for submission property and data extract values.- Since:
- 18.11.0
-
-
Constructor Summary
Constructors Constructor Description SearchHashUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
toHash(java.lang.String string)
Encodes the string provided using the class' hash salt.static java.lang.String
toHashAsPlain(java.lang.String string)
Encodes the string provided using the class' hash salt, Support for previous versions that did not turn string into uppercase.
-
-
-
Method Detail
-
toHash
public static java.lang.String toHash(java.lang.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 java.lang.String toHashAsPlain(java.lang.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
-
-