Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

md5 hash generator

Posted on 2014-07-31
7
Medium Priority
?
311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 35

Assisted Solution

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

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

Assisted Solution

by:Tej Pratap Shukla ~Dexter
Tej Pratap Shukla ~Dexter earned 668 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
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.

 
LVL 55

Accepted Solution

by:
Joe Winograd, EE MVE 2015&2016 earned 664 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 55

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
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 55

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
Curious about the latest ransomware attack? Check out our timeline of events surrounding the spread of this new virus along with tips on how to mitigate the damage.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

719 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