File:Hash_table_4_1_1_0_0_1_0_LL.svg · Wikimedia Commons · See Wikimedia Commons
hash function
Sign in to saveAlso known as hash algorithm, hash
type of function that maps data of arbitrary size to data of fixed size
A hash function is a mathematical tool that takes in data of any size and converts it into a fixed-size output, like turning a long document into a short code. This is useful because it allows computers to quickly organize, verify, and manage large amounts of information efficiently.
AI-generated from the Wikipedia summary — may contain errors.
In the Vinony graph
Vinony's link graph records 1,069 inbound references to hash function, and connects out to hash table, string and word.
It is catalogued under topics including Hash functions and Search algorithms.
Vinony links it to 55 Wikipedia language editions.
Wikidata facts
- Subclass of
- computer program
- Image
- Hash table 4 1 1 0 0 0 0 LL.svg
Show 4 more facts
- Stack Exchange tag
- stackoverflow.com/tags/hash
- topic's main category
- Category:Hash functions
- Commons category
- Hashing
- maintained by WikiProject
- WikiProject Mathematics
via Wikidata · CC0
~38 min read
Encyclopedic overview
A hash function that maps names to integers from 0 to 15. There is a collision between keys "John Smith" and "Sandra Dee".
A hash function is any function that can be used to map data of arbitrary size to fixed-size values, though there are some hash functions that support variable-length output. The values returned by a hash function are called hash values, hash codes, (hash/message) digests, or simply hashes. The values are usually used to index a fixed-size table called a hash table. Use of a hash function to index a hash table is called hashing or scatter-storage addressing.
Excerpted from Wikipedia’s “hash function” article, available under the CC BY-SA 4.0 licence.