Kelly Mears

Hash Function

A function mapping arbitrary input to a fixed-size digest, used for identity, integrity, and addressing.

Systems & Tooling2 min read201 words11 out · 27 in
also calledHashingContent addressing

A hash function maps input of any size to a fixed-size value. The properties that matter are determinism (same input, same digest) and collision resistance (finding two inputs with the same digest should be infeasible).

The uses divide cleanly. Content addressing names a thing by its digest, so identity and integrity are the same fact — the model behind Git's object store and behind content-hashed asset filenames, where a changed file necessarily has a new name and cache invalidation becomes unnecessary. Integrity checking verifies that a download matches what was published. Cache keys summarize a set of inputs so that a change to any of them is detectable; see Fingerprint. Password storage uses deliberately slow functions designed for exactly that, and nothing else.

Two practical cautions. A hash covers exactly what was fed into it — including ordering, so a digest over a list changes when the order changes even if the membership does not, which produces "identical content, different hash" surprises across tools that enumerate in different orders.

And a hash used to derive a value from a small space — a port number, a bucket index — collides regularly. Hashing does not eliminate collisions; it only makes them uniform.

See also10

Caller ID Authentication

Cryptographic attestation of an originating telephone number, and why spoofed calls survive it.

Networks & Distribution17 connections

Determinism

The property that identical inputs produce identical outputs, and the foundation of caching and verification.

Systems & Tooling61 connections

Cache Invalidation

Deciding when a cached value has stopped being correct — famously one of the hard problems.

Web Platform30 connections

Version Control

A system recording the history of a project's files, enabling branching, merging, and recovery.

Version Control & Delivery26 connections

Record and Replay Testing

Capturing a real interaction once and replaying it deterministically in later test runs.

Agents & Language Models14 connections

Provenance

The recorded origin of a change or a claim — who made it, when, and on what evidence.

Method44 connections

LLM-as-Judge

Using a language model to score another model's output against a rubric.

Agents & Language Models12 connections

Write-Ahead Logging

Recording the intent of a change durably before applying it, so a crash can be recovered.

Computation & Algorithms20 connections

Hash Table

A key-value structure that uses a digest of the key to index an array of buckets.

Computation & Algorithms23 connections

Multi-Factor Authentication

Requiring a second kind of proof besides a password to sign in, such as a code, a phone prompt, or a hardware key, and why only the methods tied to the real website stop modern phishing.

Web Platform11 connections

Linked from27