Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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.

  • No labels