Ask Leo!

What's an MD5 Signature?

Home » General Computing

I keep seeing references to "MD5" signatures, and even had a security program I run tell me that an MD5 signature wasn't correct. So, what's an MD5 signature?

Well, it's Message Digest algorithm number 5.

That doesn't help, does it?

MD5 is one technique that's frequently used to make sure that a file hasn't been altered.

An MD5 signature, also called an MD5 path or hash, and more officially a message digest, is simply a number. It's a big number (128bits, or 16 bytes, or a number somewhere between 0 and just over 10 to the 38th), that's calculated from the contents of a file. The entire file is read, the bytes combined numerically via a special algorithm and the result is the MD5 hash.

The algorithm for the calculation of that number is designed to be relatively quick to compute, and, perhaps more importantly, very unique.

What do I mean by unique? It's considered almost impossible for two different files to result in the same number being calculated as the MD5 hash. This is important because if a file changes for any reason, the MD5 hash that would be calculated from it would also be different.

Thus, publishing both a file and its original MD5 hash allows you to download a file, calculate the MD5 hash on the file you just downloaded, and confirm, or deny, that the file is correct.

Related:

Article 3581 | Posted March 16, 2005

Recent Comments

Thank you for detailed explanation.
I recommend to add some references to software
caclulating MD5 Signature.

Posted by: Baruch Lvovsky at June 20, 2006 06:20 AM

Post a comment on "What's an MD5 Signature?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

New!

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

Please wait. Your comment is being processed ...


Ask Your Question:


ask-leo.com
Web

Stay Informed

Weekly Newsletter

Archives

By Category
By Date

Advertisers

Advertise on Ask Leo!

««   »»

Question? - Ask Leo!
Who is Leo?
Link to Leo!

Terms, Conditions & Privacy