
The digest::jhash module allows you to use the fast jhash hashing algorithm developed by bob jenkins from within perl programs. the algorithm takes as input a message of arbitrary length and produces as output a 32-bit "message digest" of the input in the form of an unsigned long integer.
see http://burtleburtle.net/bob/hash/doobs.html for more information.