释义 |
DictionarySeemachash function
hash function (programming)A hash coding function which assigns a dataitem distinguished by some "key" into one of a number ofpossible "hash buckets" in a hash table. The hash function isusually combined with another more precise function.
For example a program might take a string of letters and putit in one of twenty six lists depending on its first letter.Ideally, a hash function should distribute items evenlybetween the buckets to reduce the number of hash collisions.If, for example, the strings were names beginning with "Mr.","Miss" or "Mrs." then taking the first letter would be a verypoor hash function because all names would hash the same.hash functionAn algorithm that turns a variable amount of text into a small, fixed-length value called a "hash value," "hash code" or "digest." Hash functions are widely used to create codes for digital signatures and message authentication (see cryptographic hash function). Hash functions are also employed to create lookup tables (see hash table) as well as spam analysis (see hash buster).Haser Hä·ser (hăs'ĕr), Heinrich, German physician, 1811-1884. See: Häser formula, Trapp-Häser formula. FinancialSeeMAC |