Skip to content
Contact us

FileCheckSum()

ArgumentDescription
filenameA string representing the filename
algorithmA 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’)

Link to Wikipidia about MD5 and SHA algorithms