FileCheckSum(filename, algorithm)
Section titled “FileCheckSum(filename, algorithm)”| Argument | Description |
|---|---|
| filename | A string representing the filename |
| algorithm | A string defining the algorithm you want to use. Valid arguments are: - ‘MD5’ - ‘SHA1’ - ‘SHA256’ - ‘SHA384’ - ‘SHA512’ |
Data type: string Returns the HEX representation of the checksum/hash based on the specified algorithm.
Example:
This expression returns the MD5 calculated CheckSum for the file. FileCheckSum(‘c:\myfolder\myfile.txt’ , ‘MD5’)