Skip to content

MD5

Hashing algorithm: input — any data, output — a string of 32 hexadecimal characters. The same input always produces the same hash.

Properties

  • Determinism — same input = same hash;
  • Fixed length — whether 10 bytes or 10 megabytes, the hash is always 32 characters;
  • Sensitivity — changing one character completely changes the hash.

Usage

  • Checksums — to check if a file or text has been altered;
  • Password storage — although today more robust algorithms are preferred;
  • Cache and deduplication — a quick way to compare two sets of data.

Example

MD5("hello") = 5d41402abc4b2a76b9719d911017c592

Automation Consideration

Some plugins store MD5 hashes of their data to understand if the content has changed. To write to their database correctly, you need to reproduce the exact input format for the hash — as in the 4SEO case.

See Also

← All terms