Alertra Script Language 1.9

digest

Creates an SHA digest and places it in the given variable.

usage: digest [target] = [source]

parameters:

req name type description
Y target variable The variable name to put the digest in.
Y source reference/literal Provides the content to be digested.

examples

digest MAIN_PAGE = $CONTENT

Creates an SHA digest of the contents of the $CONTENT variable and puts it in the variable MAIN_PAGE.

digest KEY = "Some really long content"

Creates an SHA digest of the "Some really long content" and puts it in the variable KEY.


Alertra Script Language: Language Reference