Added in 1.9.7

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

Computes the SHA512 hash value for the input data.

Parameters

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