To calculate a MD5 or SHA-1 checksum of a file in Linux, you can use either md5sum or sha1sum, but what about Windows especially when you copy a file from Windows to Linux and want to compare the checksum of both source and destination files.
To calculate a MD5 checksum of any file, enter the following command at the Windows command prompt:
certUtil -hashfile <file_to_check> MD5
To calculate a SHA-1 checksum of any file, enter the following command at the Windows command prompt:
certUtil -hashfile <file_to_check> SHA1
Leave a Reply