Project

General

Profile

$sha2 » History » Version 10

Per Amundsen, 02/23/2023 07:39 PM

1 1 Per Amundsen
_Added in 1.9.4_
2
3 8 Per Amundsen
*$sha2(text|&binvar|filename,N,T)*
4 1 Per Amundsen
5 3 Per Amundsen
Computes the SHA2 hash value for the input data.
6 1 Per Amundsen
7 4 Per Amundsen
_Deprecated see [[$sha256]] [[$sha384]] [[$sha512]]_
8
9 1 Per Amundsen
*Parameters*
10
11 10 Per Amundsen
table(ktable).
12
|*Parameter*|*Description*|
13
| text<notextile>|</notextile>&binvar<notextile>|</notextile>filename | Input to compute. |
14
| N | Input type, 0 = plain text, 1 = &binvar, 2 = file (default is 0) |
15
| T | Hash type, 1 = SHA256, 2 = SHA384, 3 = SHA512 (default is 1) |