Jump to content

Universal hash function

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RlyehRising (talk | contribs) at 13:04, 3 December 2005 (+ctxt). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Definition

Let the Universal Hashing function be defined as a family or set of functions which maps , where for any , and .

The probability that which follows from this construction is given by

The implication of such a hashing function is that collisions only happen with the above given probability. Thus yielding an average case performance even if the keys are carefully chosen.

Example

For and .

Let the universal hashing function where

References

Wolfram