maci.comparefilehash
compare hash of file to stored hash
Last updated
compare hash of file to stored hash
Last updated
Compares a hash of the source file against the previously created file with the stored hash data, from using the partner function, and returns a boolean if the hashes match.
Basic Example of comparing hash of a file against the stored hash using default positional parameters
In this example, we simply input the source file to hash and the destination file with the stored hash data using the comparefilehash function and pass the file locations as arguments to the function, the hashed data is then compared against the source file, and assign the returned result to a variable.
To create the initial stored hashed data, see the partner function . This tool is designed to dependently work with its partner function.
Functions that are related for comparefilehash
-> Creates hash of a file, and stores the hash data to a newly created file
Describes all parameter functionality and accepted data types
Second required positional argument. Accepts strings and