Generate file checksums
The Windows programs
sha1sum.exe
, sha256sum.exe
, md5sum.exe
and crc32sum.exe
are freeware command-line programs that
generate or verify SHA-1, SHA-256, MD5 and CRC-32 checksums for a file or list of files.
For example, to compute the SHA-1 checksum (i.e. digest value) of the file abc.txt
:
>sha1sum abc.txt a9993e364706816aba3e25717850c26c9cd0d89d *abc.txt
Note that the default mode is binary. Use the -t option for text mode. For help, use the -h option and see the readme file included with the download.
2017-03-11: If you want the result in base64 encoding - for example to include as a <DigestValue>
in an XML-DSIG document, use our
digestvalue.exe instead.
More examples
>md5sum *.txt 25f9e794323b453885f5181f1b624d0b *123-9.txt 900150983cd24fb0d6963f7d28e17f72 *abc.txt 5eb63bbbe01eeed093cb22bb8f5acdc3 *hello.txt a0f2a3c1dcd5b1cac71bf0c03f2ff1bd *hellon.txt >md5sum hellon.txt a0f2a3c1dcd5b1cac71bf0c03f2ff1bd *hellon.txt >md5sum -t hellon.txt 6f5902ac237024bdd0c176cb93063dc4 hellon.txt >crc32sum *.txt cbf43926 *123-9.txt 352441c2 *abc.txt 0d4a1185 *hello.txt 38e6c41a *hellon.txt >sha1sum *.txt f7c3bc1d808e04732adf679965ccc34ca7ae3441 *123-9.txt a9993e364706816aba3e25717850c26c9cd0d89d *abc.txt 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed *hello.txt 88a5b867c3d110207786e66523cd1e4a484da697 *hellon.txt >sha256sum *.txt 15e2b0d3c33891ebb0f1ef609ec419420c20e320ce94c65fbc8c3312448eb225 *123-9.txt ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad *abc.txt b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9 *hello.txt 572a95fee9c0f320030789e4883707affe12482fbb1ea04b3ea8267c87a890fb *hellon.txt
Downloads
- Binaries: digsum-1.0.1.zip (196 kB)
[sha1=c932edf575bb5a420e8b0747a65074ecfd52e638]
. All programs recompiled and digitally signed 2015-10-16.
Install
To install, just copy the EXE files to a folder on your
Windows PATH,
for example C:\Windows
.
You may need administrator permissions to copy the file.
We recommend you set up a C:\Bin directory for files like this.
Contact us
To comment on this page or to contact us, please send us a message.
This page last updated 3 November 2023.