Input
input: The original input text or dataoutput: The string to validateexpectedOutput: The expected output to compare against.
- Any of the input variables (
input,output,expectedOutput) can be marked as optional. - The returned value from the
validatefunction can be a boolean, string, or a number.
Output
Result: (trueorfalse, string or a number)
Interpretation
assuming response format is boolean
- true: The string matches the SHA-256 pattern
- false: The string does not match the SHA-256 pattern
This evaluator requires a function named
validate.