Share via

How to validate checksums/hash stored in a file against their targets

Anonymous
2024-11-18T04:55:54+00:00

I have a few checksum values, i.e. MD5/SHA256/SHA384/etc, kept in some text files. Some of these are kept in simple cheksum file format like the one given below

XXXXYYYZZZZ.....................     filename1

XXX1YYY1ZZZZ1...................     filename2

X1X1Y1Y1Z1Z1Z1..................     filename3

Some of the files that are stored in BSD Style checksums like the one given below

SHA256 (filename1) = XXXXYYYZZZZ.....................

MD5 (filename2) = X3X3Y3Y3Z3Z3.....................

SHA1 (filename3) = XX22YY22ZZ22..................

I need a tool or utility that can validate these checksum values that are stored against their respective files. It may be a command line or powershell tool which can do this. Unix/Linux/MacOS have some inbuilt commands that can do this, i.e. provide the command line option -check and that will check the checksum/hash values against their respective files.

Does Windows have something similar? How can I achieve this?

Does Windows have an inbuilt tool that can do this? i.e. something similar to certutil command?

I am aware of the possibility of collision of checksums/hash using MD5 and other algo. And that is fine.

Windows for home | Windows 10 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Rob Koch 25,875 Reputation points Volunteer Moderator
    2024-11-18T20:37:11+00:00
    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-11-19T13:40:24+00:00

    For creating yes but for verification of checksums/hash stored in a file this utility does not work.

    No kidding? I use it for verifying checksums.

    0 comments No comments
  3. Anonymous
    2024-11-19T05:06:52+00:00

    For creating yes but for verification of checksums/hash stored in a file this utility does not work.

    0 comments No comments
  4. Anonymous
    2024-11-19T05:06:22+00:00

    I did check on the net before posting it over here. And the closest that I got was using the power shell command Get-FileHash with the option -eq. Details are given at this link of geekforgeeks website.

    What I am looking for is to use a file which has all the hashes/checksums stored in text format and comparing them with the actual files. All the options that are given are for creating checksums and not for verification. Verification still has to be done manually.

    0 comments No comments
  5. Anonymous
    2024-11-18T23:51:09+00:00

    No shortage of apps for this. The app I favor is MD5 & SHA Checksum Utility Pro

    0 comments No comments