Hello, you are using an old browser that's unsafe and no longer supported. Please consider updating your browser to a newer version, or downloading a modern browser.

Global Accelerated Learning • Est. 1999
Glossary Term Message Digest

Training Camp • Cybersecurity Glossary

What is Message Digest?

A fixed-size hash that acts as a unique fingerprint of data, exposing any change. Standards include FIPS 180-4 (SHA-2) and FIPS 202 (SHA-3).

Glossary > AI Security & Data Privacy > Message Digest

Understanding Message Digest

A message digest is a fixed-size cryptographic hash value computed from arbitrary input data, serving as a unique digital fingerprint of that data. Any modification to the input, even a single bit, produces a completely different digest. Digests verify integrity and authentication but provide no confidentiality, since they are one-way and cannot be reversed to recover the original message.

A cryptographic hash function generates the digest by processing input of any length into a fixed-length output, for example 256 bits for SHA-256. Key properties make this trustworthy: preimage resistance prevents finding an input that matches a given digest, second-preimage resistance prevents finding a different input with the same digest, and collision resistance prevents finding any two inputs that collide. Common algorithms include SHA-256 and SHA-3, standardized in FIPS 180-4 and FIPS 202 respectively, alongside BLAKE2.

For security, message digests are the foundation of integrity verification across nearly every defensive control. Digital signatures sign the digest of a document rather than the whole document, password systems store salted digests instead of plaintext, and tamper-detection and data-deduplication systems compare digests to spot changes. Without collision-resistant digests, an attacker could substitute malicious content that still validates, which is exactly why deprecated functions like MD5 and SHA-1 are no longer acceptable for security-critical use.

A concrete example: software vendors publish the SHA-256 digest of a downloadable installer next to the download link. After downloading, a user runs a tool such as sha256sum and compares the locally computed digest against the published value. If the two match, the file arrived intact and unaltered; if they differ, the download was corrupted in transit or tampered with, and the user should discard it. This simple digest comparison is a routine, high-value integrity check that requires no shared secret.

Learn More About Message Digest:

Ready to Get Certified?

Turn knowledge into credentials with our instructor-led cybersecurity boot camps.

View All Courses →