WolframLang: Get File Hash

By Xah Lee. Date: .

File Hash

FileHash[path]

return integer hash code of file content at path.

FileHash

FileHash[path, typeStr]

use hash algorithm typeStr. Supported type includes "MD5", "SHA256", "SHA3-256" and more.

FileHash[ "c:/Users/xah/web/xahlee_info/M/WolframScript.html" ]
(* sample return 196936574075229334718916868727866708509 *)

WolframLang, Shell Tasks