Message Digest
A message digest is a number which is created algorithmically from a file and represents that file uniquely. If the file changes, the message digest will change.
In addition to allowing us to determine if a file has changed, message digests can also help to identify duplicate files.
Creating a Message Digest
On many Unix systems, the `md5` command wll generate a message digest:
bash-2.05a$ md5 /kernel MD5 (/kernel) = cdd6056e13686981c50ca6008782732a
On older legacy Unix systems, the `sum` command was utilized for the same purpose.
bash-2.05a$ sum /kernel 33504 4188 /kernel
Note: `sum` is not cryptologically secure, and its use is not recommended.
If you generate MD5 message digests for the critical files on your system, and store them securely, you will be able to determine if someone has broken into your system and changed one of those files.
Software to Automatically Generate Message Digests for System Security
Two programs which generate and manage message digests to protect system security are TripWire and AIDE.
Other Uses of Message Digests
Peer-to-peer file sharing programs like eMule use message digests to protect users from downloading duplicate files and to help identify multiple sources of the same file.
Message Digest Algorithms
Common message digest algorithms include:
A message digest will sometimes be referred to as a checksum or a hash.
- MD5 (Message Digest 5)
MD5 is a message digest algorithm. MD5 takes a variable length input and produces a 128-bit message digest. MD5 was designed by Ron Rivest in 1991. MD5 is officially defined in RFC 1321 – The MD5 Message-Digest Algorithm. MD5 Usage MD5 is used in many applications, including GPG, Kerberos, TLS / SSL, Cisco type 5 [...]...
- SHA-1
SHA stands for Secure Hash Algorithm. It consists of five hash functions designed by the National Security Agency (NSA) and published by the National Institute of Standards and Technology (NIST). The five algorithms are SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512. SHA-1 is the most commonly used of the SHA series. Hash algorithms are called secure [...]...
- How to Disable Real Message Center
Real Message Center is a product of the popular media player, RealPlayer, that displays notifications concerning updates, upgrades, and new available software that the user has signed up to receive. However, many users soon regret signing up for Real Message Center notifications or may not have wanted to receive them in the first place. Real [...]...
- How to Send a Text Message
One of the perks to using a cell phone is the ability to send a text message to someone which is a short message comprised of text. By sending a message, you can communicate with someone without having to call them. Text messaging has become an incredible craze around the world and because of that, [...]...
- How to Fix the Unmountable Boot Volume Error Message in Windows XP
A common error that occurs with the Windows XP operating system (OS) that results in a system crash is the unmountable boot volume error message. When this error occurs, it is an indication that the OS is having difficulty starting or booting from the computer’s “C” drive. Due to the Windows XP OS’s maturity, the [...]...




