content addressing

Storing and finding data by a hash of its content instead of by a name someone chose.

In more detail

The address of each piece of data is its hash, so identical content always gets the same address and is stored only once. Any change to the content gives it a new address, and a copy can be verified simply by hashing it again.

Examples

A registry can store artifacts by content address, so the digest a pipeline records always fetches exactly the bytes it tested.
Git names every file, directory listing and commit by the hash of its content.

Related terms

Taught in

References