Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Pearson hashing
is a hash function designed for fast execution on processors with 8-bit
registers. Given an input consisting of any number of bytes, it produces
as output a single byte that is strongly dependent on every byte of the
input. Its implementation requires only a few instructions, plus a
256-byte lookup table containing a permutation of the values 0 through
255. This hash function is a CBC-MAC that uses an 8-bit random block
cipher implemented via the permutation table. A hash function is any
well-defined procedure or mathematical function that converts a large,
possibly variable-sized amount of data into a small datum, usually a
single integer that may serve as an index to an array. The values
returned by a hash function are called hash values, hash codes, hash
sums, checksums or simply hashes.