What thirty-two hex characters say about the UTF-8 bytes you hashed
MD5 reads the UTF-8 bytes of the text and writes a 128-bit digest. On this page that digest is shown as thirty-two lowercase hexadecimal characters with no spaces and no 0x prefix. Sixteen bytes sit behind those digits. An empty field is zero bytes and still prints a full thirty-two character line, not a blank output. The three letters abc are three bytes with a well-known test vector you can load with the example buttons. The same bytes and the same algorithm always land on the same line, because MD5 does not mix in a salt or a key.
Hex is one spelling of the sixteen digest bytes. Sixteen raw bytes can also be written in Base64 for shorter wire forms, but that alphabet is not the thirty-two hex characters printed here. Changing only the case of hex letters does not change the bytes. Adding a newline after abc adds the byte 0A and changes the whole digest. The function hashes bytes, not the shape on the screen.
MD5 is fast and collision weaknesses are well known, so it does not belong in new password tables or anywhere two different messages must never share a digest. Modern work belongs on the hash digest page for SHA-256 and siblings, on HMAC when a key is required, and on slow stores such as bcrypt, PBKDF2, and Argon2 for human-chosen secrets. Reading the bytes behind hex is what hex encode and decode covers.
How bit length, UTF-8 bytes, and the hex line relate before you compare
Why MD5 always writes exactly thirty-two lowercase hexadecimal characters
- The digest is 128 bits. Two hex digits are one byte, so the printed form is sixteen bytes and thirty-two characters.
- This page uses lowercase a through f. Uppercase spells the same sixteen bytes and is equally valid for parsers that accept both.
- A string shorter or longer than thirty-two hex digits is not a complete MD5 digest in this notation.
Why empty input and the three letters abc still produce predictable digests
- Zero bytes still yield a full thirty-two character digest, not an empty output field.
- The three-byte word abc has a standard MD5 test vector in docs and unit tests; the abc example loads it here.
- Typing the ten hex characters 616263 hashes those ten ASCII bytes, not the three-byte word abc inside quotes.
Why hex on the page names the same sixteen bytes as a Base64 wire form
- MD5 output is always sixteen raw bytes. Hex expands each byte to two nibbles so every value is visible.
- Base64 packs the same sixteen bytes with a sixty-four character alphabet and padding. Length and spelling differ; the byte string does not.
- APIs sometimes return Base64 where logs show hex. Converting between spellings must decode to identical sixteen bytes before compare.
Why MD5 must not stand in for password storage or collision-free security
- The same password always yields the same MD5 with no salt, so rainbow tables and bulk guessing stay practical.
- Published collision techniques mean two different messages can share an MD5 in adversarial settings. That breaks naive integrity assumptions.
- Password rows want a slow hash, a per-user salt, and often memory cost. bcrypt, PBKDF2, and Argon2 are built for that job.
Where the copied digest and the bytes you typed quietly disagree
A test that expected the published MD5 of abc
The UTF-8 bytes of abc define a standard MD5 test vector you can confirm with the example control. Dropping a letter, hashing ABC instead, or switching to SHA-256 on the hash digest page produces a different string and often a different length. MD5 stays at thirty-two hex characters. None of those algorithms adds a key; a keyed check is HMAC.
A cache header that showed Base64 while the doc listed hex
Both forms name sixteen digest bytes. Hex is thirty-two characters from 0-9 and a-f. Base64 is shorter and uses a different alphabet with optional padding. Pasting one into a field that expects the other fails comparison even when the underlying hash is correct. hex encode and decode walks the byte view that both spellings share.
A login table that still stored bare MD5 beside a modern column
MD5 of a password is one fast step with no embedded salt. Identical passwords collide in the table, and attackers can precompute millions of guesses. Moving forward means rehashing at login with bcrypt or PBKDF2 or Argon2, or running a staged migration. MD5 here only explains the digest shape, not a policy for new credentials.