Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Is there a built-in method for computing a sha1 or md5 hash in windows 7?

If I am running Windows 7 or a distribution of Linux how can I compute MD5 or SHA hashes without downloading a specific tool or application that can do so? Are there any tools that come with Windows 7 or distributions of Linux? The Linux distribution of interest would be Debian and Ubuntu.

share|improve this question
    
@afrazier - I am indeed looking for an in-built tool for Windows 7 but am also looking one for Linux. –  PeanutsMonkey Nov 22 '11 at 22:34
add comment

marked as duplicate by afrazier, techie007, Sathya Nov 24 '11 at 13:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 4 down vote accepted

md5sum, sha1sum, sha256sum, etc. are all standard in Linux distros. They're part of the required coreutils package on Debian and Ubuntu, so if you've installed one of those, you already have them. In other distros you might have to install them, but I don't really see any way around that besides writing them yourself, which I don't think you want to do.

On Windows, I don't know of any native hashing tools. You'll probably have to install something. You can install Cygwin, which also includes md5sum and sha*sum in its required coreutils package, or for a free GUI tool there's e.g. md5summer.

share|improve this answer
    
What about Windows? –  PeanutsMonkey Nov 22 '11 at 19:40
    
Updated for Windows. –  Andrew Schulman Nov 22 '11 at 19:45
2  
For various checksum programs and other useful GNU tools for Windows, have a look at gnuwin32 (gnuwin32.sourceforge.net) –  schnaader Nov 22 '11 at 20:34
1  
Another useful tool (if you have permissinos to install such things in your current environment) for individual files is hashtab (implbits.com/HashTab.aspx) which adds the common hash functions to Windows Explorer's file/properties box. –  David Spillett Nov 23 '11 at 9:42
    
Hashtab is probably one of the best or Cortez's Checksum. –  surfasb Nov 23 '11 at 11:29
add comment

I'd suggest cygwin as above, but openssl tools can perform the hashes. See the openssl website

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.