Files.Hash
Overview
Returns the hash of specified file.
string myFiles.Hash(id: string, hash: ( "SHA1" | "SHA256" | "SHA384" | "SHA512" | "MD5" ))
Arguments
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.
Copyright © 2010 - 2023 Emakin. All rights reserved.