interesting MD5 hashes
I searched the MD5 hashes of some 4- and 5-byte strings (a bit less than half of them) for interesting patterns. The byte strings and hashes are shown in hexadecimal.
bit-level patterns
bytes to hash | hash | hash (in 32-bit groups) | pattern |
---|---|---|---|
80 0a dd 7d a6 |
006085092108a0a82101500002040402 |
00608509 2108a0a8 21015000 02040402 |
104 zeroes |
ea 13 57 2f 46 |
7fbff6bf5717ffdde5ff9ff7fdf7fdff |
7fbff6bf 5717ffdd e5ff9ff7 fdf7fdff |
105 ones |
f4 45 57 ea 95 |
6800000000000305aaf8abe45729229f |
68000000 00000305 aaf8abe4 5729229f |
49 consecutive zeroes (all 5-byte strings were searched) |
f5 68 4d f9 3f |
731575f655a07405cf71fffffffffff5 |
731575f6 55a07405 cf71ffff fffffff5 |
45 consecutive ones (all 5-byte strings were searched) |
cc 77 c0 92 ba |
0000000003780351ee6de65449e8ef98 |
00000000 03780351 ee6de654 49e8ef98 |
38 initial zeroes (all 5-byte strings were searched) |
db d4 a9 b6 b1 |
0000000003458fab83b9c62a36441805 |
00000000 03458fab 83b9c62a 36441805 |
38 initial zeroes (all 5-byte strings were searched) |
93 35 55 7d 20 |
fffffffffeb0d9b7ba4d8eff04ea5503 |
ffffffff feb0d9b7 ba4d8eff 04ea5503 |
39 initial ones (all 5-byte strings were searched) |
f8 06 56 4a d9 |
fffffffffecf0a24359029dc60ed23d3 |
ffffffff fecf0a24 359029dc 60ed23d3 |
39 initial ones (all 5-byte strings were searched) |
3e 05 af a8 ee |
a9d83a29bc8a865e57258d0000000000 |
a9d83a29 bc8a865e 57258d00 00000000 |
40 final zeroes (all 5-byte strings were searched) |
75 35 0e cd b8 |
002c681941863084ab4f2d7fffffffff |
002c6819 41863084 ab4f2d7f ffffffff |
39 final ones (all 5-byte strings were searched) |
nybble-level patterns
bytes to hash | hash | hash (in 32-bit groups) | pattern |
---|---|---|---|
8a a8 bd c5 4d |
320104200041705000021800430a8306 |
32010420 00417050 00021800 430a8306 |
the sum is (only) 74 |
8a d8 b0 70 8f |
efcafecfd9fdceeb9ec4bffefbfadfdd |
efcafecf d9fdceeb 9ec4bffe fbfadfdd |
the sum is (as large as) 407 |
24 dd 21 b5 |
5308505101d0b00d0000030ee0b0c0d1 |
53085051 01d0b00d 0000030e e0b0c0d1 |
15 zeroes |
70 04 dc eb |
000bd0201c009000007f7440a3e02b70 |
000bd020 1c009000 007f7440 a3e02b70 |
15 zeroes |
68 f2 62 f0 71 |
f8ffffb1f98ff6df05105fffffcff8f7 |
f8ffffb1 f98ff6df 05105fff ffcff8f7 |
17 “f ”s |
c1 87 65 c6 63 |
56533025656253531466506622322641 |
56533025 65625353 14665066 22322641 |
all nybbles are 6 or less |
e0 6b c4 e5 60 |
65664203430333355652552110463411 |
65664203 43033335 56525521 10463411 |
all nybbles are 6 or less |
No 4- or 5-byte input produces an MD5 hash with all nybbles a
or greater – but see references below.
octet-level patterns
bytes to hash | hash | hash (in 8-bit groups) | pattern |
---|---|---|---|
8b 1c ae 2b 2b |
1612020c0200037604020c050f112231 |
16 12 02 0c 02 00 03 76 04 02 0c 05 0f 11 22 31 |
the sum is (only) 315 |
e7 fb ef 4a 10 |
f3e3fec5d5fef5fcfdffc5f7f9fff5f6 |
f3 e3 fe c5 d5 fe f5 fc fd ff c5 f7 f9 ff f5 f6 |
the sum is (as large as) 3832 |
fd eb 66 4d 09 |
002c282b281e011f040e18080f1f1c05 |
00 2c 28 2b 28 1e 01 1f 04 0e 18 08 0f 1f 1c 05 |
the largest byte is (only) 0x2c (all 4- and 5-byte strings were searched) |
75 b8 db d1 79 |
faf5f6dfddfae4feeaf6ecdcddeff3f0 |
fa f5 f6 df dd fa e4 fe ea f6 ec dc dd ef f3 f0 |
the smallest byte is (as large as) 0xdc (all 5-byte strings were searched) |
41 48 33 61 ff |
6f8379717f82626379786e7a7d6d7673 |
6f 83 79 71 7f 82 62 63 79 78 6e 7a 7d 6d 76 73 |
the difference between the largest and the smallest byte is (only) 33 (0x83 −0x62 ) |
fe b7 a5 2f |
e34c7740777777aa4a40aa4d4caa4004 |
e3 4c 77 40 77 77 77 aa 4a 40 aa 4d 4c aa 40 04 |
(only) 8 unique bytes (04 , 40 , 4a , 4c , 4d , 77 , aa , e3 ) |
references
- Stack
Overflow – Can an MD5 hash have ONLY numbers or ONLY letters in
it? – a hash with all nybbles
a
or greater, posted by users Jokerius and cave: md5(“cbaabcdljdac
”) =cadbfdfecdcdcdacdbbbfadbcccefabd