Creates hashes from input data.

Parameters:

TypeNameDescription
stringinputData that will be hashed
FunctionfunctionHash function type. This is enum type from the Hash class and acts as dropdown

 

 Output:

String: Hashed data

Example:

Generate("foobar", Hash.Function.MD5)

Function values:

Hash.Function.MD5  is mostly meant for the data validation.

Hash.Function.SHA512 can be used for passwords.