NOP Design Home Page
Documentation
TOC/Index
Search
Downloads



CreateFileHash

Creates a SHA1 or MD5 hash of a file

CreateFileHash MyHash From "filetohash.ext" As SHA1

CreateFileHash creates a hash into the variable specified in the first argument of the file specified in the second argument, in the format of the third argument (either MD5 or SHA1).

Sample Source

CreateFileHash strSha1Hash From "/tmp/test" As SHA1
CreateFileHash strMd5Hash From "/tmp/test" As MD5

Minimum version: 4.7