PLAIN/TEXT — ISSUE 45/456 COMPUTER SCIENCE · FOUNDATION / DIGITAL IDENTITIES · ~4 MIN READING DATE: 2026-11-15 ARCHIVE: https://plaintext.click/newsletter/ SUBJECT: Why short digital fingerprints eventually repeat Why short digital fingerprints eventually repeat ================================================ / START HERE A file can be given a short digital label so software can compare it quickly. A hash is the fixed-size output of a rule that turns input data into a compact value. Different files can produce the same label because there are more possible files than labels. / WHY NOW A matching fingerprint is useful evidence, but its strength depends on the label’s size and the hash design. Shortening identifiers for convenience changes how easily accidental matches can occur. / THE IDEA A collision means two distinct inputs share an output. The birthday effect explains why any collision can appear sooner than finding a match to one particular target. Every new item is compared with all the earlier items, so the number of possible pairs grows quickly. For n items, there are n choices for one member and n − 1 for another. Divide by two because pairing Alice with Bob is the same pair as Bob with Alice. Each new item therefore introduces more opportunities for a match than the last. / THE FORMAL IDEA pairs = n(n − 1)/2; expected matching pairs = pairs/M - n = number of distinct inputs; M = number of possible equally likely hash outputs. - Expected means the average number across many imagined repetitions. It counts matching pairs, not the probability of any collision, although the two are approximately equal when collisions are very rare. / RUN THE TINY EXAMPLE Change one thing. Predict what happens. Use a toy hash with M = 1,000 outputs and n = 10 files. Pairs = 10 × 9 / 2 = 45; expected collisions = 45/1,000 = 0.045. Increase n to 20: pairs = 20 × 19 / 2 = 190. Expected collisions = 0.190, more than four times larger. Doubling the file count roughly quadrupled the pair count. The label space did not shrink; there were simply many more chances for two files to land together. / SO WHAT? Real cryptographic hashes use vastly larger output spaces and additional security properties. A database can also handle ordinary hash-table collisions by comparing full keys. Whether a collision is merely a performance inconvenience or a serious security problem depends on what the label is being trusted to prove. / ONE CAVEAT The arithmetic assumes uniform independent outputs. It does not assess malicious attacks or certify an algorithm’s security, and a hash is not encryption that can be reversed to recover the file. / KEEP THIS As a collection grows, possible matching pairs grow roughly with its size squared. / SOURCE TRAIL [1] MIT — Hashing and the birthday bound https://courses.csail.mit.edu/6.857/2019/files/R02-hash.pdf NEXT: Why a radio antenna has a particular size --- HARD IDEAS. PLAIN TEXT. You are receiving this because you asked for one clear computer-science or physics idea each day. Unsubscribe: https://plaintext.click/unsubscribe View in browser: https://plaintext.click/newsletter/2026/11/2026-11-15-hash-collisions.html From: Plain/Text / Brickston Consulting · 30 N Gould St Ste N, Sheridan, WY 82801 US · knowledge@plaintext.click