Project

General

Profile

$sha2 » History » Revision 5

Revision 4 (Per Amundsen, 08/05/2015 11:15 PM) → Revision 5/10 (Per Amundsen, 12/05/2018 02:31 AM)

_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 0 = SHA256, 2 1 = SHA384, 3 2 = SHA512 (default is 1) 0)