Lua Methods Reference > General Methods > hash_file

hash_file
The hash_file method hashes the contents of the specified file using the SHA1 or MD5 algorithm.
Syntax
hash_file( FileName, Algorithm )
Arguments
 
Returns
(String). A hash of the file contents.