Message Digest

Why Trust Techopedia

What Does Message Digest Mean?

A message digest is a cryptographic hash function containing a string of digits created by a one-way hashing formula.


Message digests are designed to protect the integrity of a piece of data or media to detect changes and alterations to any part of a message. They are a type of cryptography utilizing hash values that can warn the copyright owner of any modifications applied to their work.

Message digest hash numbers represent specific files containing the protected works. One message digest is assigned to particular data content. It can reference a change made deliberately or accidentally, but it prompts the owner to identify the modification as well as the individual(s) making the change. Message digests are algorithmic numbers.

This term is also known as a hash value and sometimes as a checksum.

Techopedia Explains Message Digest

The particular message digest will change if the file changes. Not only can message digests help determine file changes, but can also assist in locating duplicate files.

Message digests can be produced on UNIX systems with the MD5 command. MD5s are securely stored on systems and can reveal if an unauthorized user has accessed a file. It has been shown that MD5 is unreliable with problems relating to collision (where 2 keys for different data are the same) and it is no longer used.

File sharing programs, such as peer-to-peer (P2P), utilize message digests to warn users when downloading identical files. It can also pinpoint the origin of duplicate downloads. Besides MD5, SHA and CRC32 are other message digest algorithms.

Message digests are encrypted with private keys creating a digital signature. This results in a type of validation ensuring that the appropriate user is accessing protected information. Message digests protect one-way hash algorithms taking random data and transmitting a set length hash value.

To begin the process a message digest is initialized. Then the data is processed through the message digest by using updates. Final operations include padding, during which the message digest completes the hash computation and resets itself. However, the digest can be reset at any time during the process.


Related Terms

Margaret Rouse

Margaret jest nagradzaną technical writerką, nauczycielką i wykładowczynią. Jest znana z tego, że potrafi w prostych słowach pzybliżyć złożone pojęcia techniczne słuchaczom ze świata biznesu. Od dwudziestu lat jej definicje pojęć z dziedziny IT są publikowane przez Que w encyklopedii terminów technologicznych, a także cytowane w artykułach ukazujących się w New York Times, w magazynie Time, USA Today, ZDNet, a także w magazynach PC i Discovery. Margaret dołączyła do zespołu Techopedii w roku 2011. Margaret lubi pomagać znaleźć wspólny język specjalistom ze świata biznesu i IT. W swojej pracy, jak sama mówi, buduje mosty między tymi dwiema domenami, w ten…