Skip to content
散列函數

File:Hash_table_4_1_1_0_0_1_0_LL.svg · Wikimedia Commons · See Wikimedia Commons

EntityQ183427· pop 57· linked from 1,069 articles

散列函數

Sign in to save

Also known as hash algorithm, hash

将任意长度的数据映射成固定长度数字串的函数

AI overview

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.

Wikidata facts

Image
Hash table 4 1 1 0 0 0 0 LL.svg
Show 2 more facts
Stack Exchange tag
stackoverflow.com/tags/hash
Commons category
Hashing
Sources (4)

via Wikidata · CC0

Article · 中文

散列函数(英語:Hash function)又称散列算法、哈希函数,是一种从任何一种数据中创建小的数字“指纹”的方法。散列函数把消息或数据压缩成摘要,使得数据量变小,将数据的格式固定下来。该函数将数据打乱混合,重新创建一个叫做散列值(hash values,hash codes,hash sums,或hashes)的指纹。散列值通常用一个短的随机字母和数字组成的字符串来代表。好的散列函数在输入域中很少出现。在散列表和数据处理中,不抑制冲突来区别数据,会使得更难找到。 如今,雜湊演算法也被用來加密存在資料庫中的密碼(password)字串,由於雜湊演算法所計算出來的雜湊值(Hash Value)具有不可逆(無法逆向演算回原本的數值)的性質,因此可有效的保護密碼。

Abstract from DBpedia / Wikipedia · CC BY-SA

Connections

Categories