Added in 1.8.10
$sha1(text|&binvar|filename,[N])
Computes the SHA1 hash value for the input data.
Parameters