- Package ID
CLI hash (checksum) utility.
CLI hash (checksum) utility. Valid inputs: - filePath [hash algorithm name] => returns the file hash as a hexadecimal string. the default algorithm is md5. - filePath [hash to test against (hexadecimal string)] => calculate and compare the hash of the file against the provided hash. the algorithm is automatically determined based on the length of the string. If no file path is provided, the program will try to read from the standard input stream. To force an argument to be interpreted as an input file path, put it between quotes. Supported Algorithms: - MD5 - SHA1 - SHA256 - SHA384 - SHA512