String Hashing Algorithms
String Hashing Algorithms
Introduction
Hashing a string is the transformation of a string into a number (the hash).
A hash function must be deterministic: the same string always produces the same hash.
One of the most common polynomial hash definitions for a string :