Project

General

Profile

Actions

Added in 1.9.4

$sha2(text|&binvar|filename,N,T)

Computes the SHA2 hash value for the input data.

Deprecated see $sha256 $sha384 $sha512

Parameters

text|&binvar|filename - Input to compute.
N - Input type, 0 = plain text, 1 = &binvar, 2 = file (default is 0)
T - Hash type, 1 = SHA256, 2 = SHA384, 3 = SHA512 (default is 1)

Updated by Per Amundsen 10 months ago · 9 revisions

Also available in: PDF HTML TXT