Hash¶
Returns the hash of specified file.
1 |
|
Parameters¶
string id
Id number of file to calculate hash
( "SHA1"
| "SHA256"
| "SHA384"
| "SHA512"
| "MD5"
) hash
Name of hash algorithm.
Returns¶
Calculated hash value of file.
Remarks¶
Please do not use MD5 hash algorithm unless is required, MD5 is considered as weak algorithm and easily cracked.