$sha2 » History » Version 2
Per Amundsen, 07/17/2014 05:46 AM
1 | 1 | Per Amundsen | _Added in 1.9.4_ |
---|---|---|---|
2 | |||
3 | *$sha2(text|&binvar|filename,[N],[T])* |
||
4 | |||
5 | Computes the SHA hash value for the input data. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | text|&binvar|filename - Input to compute. |
||
10 | 2 | Per Amundsen | N - Input type, 0 = plain text, 1 = &binvar, 2 = file (default is 0) |
11 | T - Hash type, 0 = SHA256, 1 = SHA384, 2 = SHA512 (default is 0) |