Solved

md5 hash generator

Posted on 2014-07-31
7
261 Views
Last Modified: 2014-08-07
I need a tool that can scan a folder of choice and generate an md5 hash for every file in the folder. And I then need to create say a csv file to hyperlink to the original file. Any pointers? Ideally free.
0
Comment
Question by:pma111
7 Comments
 
LVL 33

Assisted Solution

by:ste5an
ste5an earned 167 total points
ID: 40231356
- md5sum from GnuWin
- md5sum from hashutils.
- md5 from fourmilab.ch

or built-in PowerShell Get-FileHash.
0
 
LVL 11

Assisted Solution

by:Tej Pratap Shukla ~Dexter
Tej Pratap Shukla ~Dexter earned 167 total points
ID: 40231357
Hey there
I think MD5Summer Software might just be the one you are looking for . It does generate md5 hash for  files in a folder .

Thanks
~Dex
0
 
LVL 3

Author Comment

by:pma111
ID: 40231447
Also found a nirsoft one hashmyfiles
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 53

Accepted Solution

by:
Joe Winograd, EE MVE earned 166 total points
ID: 40231640
> I need a tool that can scan a folder of choice and generate an md5 hash for every file in the folder.

I'm a huge fan of NirSoft's (free!) utilities, which I've been using for many years:
http://www.nirsoft.net/

One of them is HashMyFiles:
http://www.nirsoft.net/utils/hash_my_files.html

Scroll to the bottom of the page at the above URL for the download links. Note that there are both 32-bit and 64-bit versions. It is a no-install/stand-alone executable — just unzip the file and run the EXE.

There's an option to add an entire folder, with a check-box to include subfolders. In addition to MD5, it can do SHA1, CRC32, SHA-256, SHA-512, and SHA-384.

> And I then need to create say a csv file to hyperlink to the original file.

It can't do CSV, but it does HTML (which loads perfectly into Excel) via the View menu, then HTML Report - Selected Items or HTML Report - All Items. You may choose the columns to put in the report via the View menu then Choose Columns. One of the columns is called Full Path, which puts in the fully qualified file name. There are numerous ways to create a hyperlink in Excel from a fully qualified file name. An easy way is to add a column and put in =HYPERLINK(cell with Full Path). In the default report with all columns selected, the first would be =HYPERLINK(H7). Then do a copy-down for the entire column and you'll have it.

> Ideally free.

All of the NirSoft Utilities are freeware.

Regards, Joe
0
 
LVL 53

Expert Comment

by:Joe Winograd, EE MVE
ID: 40231665
After copy/pasting my answer into a browser tab already opened with your question and then submitting it, I now see that you discovered NirSoft's HashMyFiles on your own. It works really well. I'm sure you'll like loading the HTML report into Excel, which gives you tremendous flexibility on formatting, sorting, searching, etc., including the ability to add hyperlinks. I use the HTML Report feature in many of the NirSoft Utilities — works a charm! Regards, Joe
0
 
LVL 3

Author Comment

by:pma111
ID: 40232315
What exactly changes an md5 would changing the filename change the md5 or would only changing text inside the files bare in mind these are word or excel files
0
 
LVL 53

Expert Comment

by:Joe Winograd, EE MVE
ID: 40232845
MD5 hashes the contents of the files, not the file names. So two files with the same contents but different file names will have the same MD5 hash. You may test that easily with HashMyFiles — simply copy a file to a new file with a different file name and check the MD5 hashes on them — they'll be the same. Of course, if there's an OS that stores the file name inside the file, then that would change the MD5. But Windows doesn't do that. Regards, Joe
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question