getFileSHA256

Get a hex string representing the SHA256 of a file.

Syntax

getFileSHA256(filepath)

Returns

(string) 64 chars hexidecimal of the 256 bit value

Parameters

filepath (string)
the full file path of the file to hash

Usage

var hex_string = getFileSHA256("C:/myfile.txt");