Added in 1.8.10

$sha1(text|&binvar|filename,[N])

Computes the SHA1 hash value for the input data.

Parameters

Parameter Description
text|&binvar|filename Input to compute.
N Input type, 0 = plain text, 1 = &binvar, 2 = file (default is 0)