---
title: Hash function — history, transitions and spread
description: A hash function deterministically maps an input, such as a name, file, or database key, to a value of fixed size.
---

Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/) · [OCR](https://md.ocr.elamur.ai/free/en/)

This page as HTML: <https://technologia.elamur.ai/free/en/hash-function/>

# Hash function

A hash function deterministically maps an input, such as a name, file, or database key, to a value of fixed size. Different inputs can produce the same value, a result called a collision. In hash tables, the value helps locate a record without scanning every entry, and the table resolves collisions when they occur. Cryptographic hash functions have additional security goals, including making it computationally infeasible to find two inputs with the same digest. These properties make hashes useful for checking file integrity against a trusted digest and for verifying digital signatures.

## Origin

- **When:** c. 1953–1956
- **Where:** United States
- **Who:** Hans Peter Luhn (IBM), Arnold I. Dumey (early published description)

## Transitions

| From | To | Years | Why |
|---|---|---|---|
| Sequential search through unsorted records | Hash-based lookup for exact-match queries | 1953 – 1970 (17 years) | Reduced the number of records examined per lookup; Supported efficient insertion without maintaining a sorted index |
| SHA-1 for digital signatures and certificates | SHA-2 for digital signatures and certificates | 2011 – 2017 (6 years) | Cryptanalytic advances weakened SHA-1 collision resistance; Certificate authorities and browsers phased out SHA-1 certificates; SHA-2 offered stronger collision resistance and was already standardized |

## Spread

- **1953:** United States (early IBM work)
- **1997:** Worldwide (Internet protocols, including IPsec authentication)

## Near future

Legacy systems continue migrating from SHA-1 to SHA-2 and SHA-3. For password storage, systems increasingly use memory-hard schemes such as Argon2id to raise the cost of offline guessing. Hash tables continue to use fast functions suited to their workloads.

## Sources

- [Donald E. Knuth, The Art of Computer Programming, Volume 3: Sorting and Searching, section 6.4](https://www-cs-faculty.stanford.edu/~knuth/taocp.html)
- [RFC 2104: HMAC: Keyed-Hashing for Message Authentication](https://www.rfc-editor.org/rfc/rfc2104)
- [RFC 6194: Security Considerations for the SHA-0 and SHA-1 Message-Digest Algorithms](https://www.rfc-editor.org/rfc/rfc6194)
- [NIST FIPS 202: SHA-3 Standard](https://csrc.nist.gov/pubs/fips/202/final)
- [RFC 9106: Argon2 Memory-Hard Function for Password Hashing and Proof-of-Work Applications](https://www.rfc-editor.org/rfc/rfc9106)
- [Wikidata](https://www.wikidata.org/wiki/Q183427)

For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: https://technologia.elamur.ai/sitemap.xml · https://technologia.elamur.ai/llms.txt · https://md.technologia.elamur.ai/free/en/hash-function/
