The murmur hash algorithm by Austin Appleby is an exteremely fast algorithm that combines both excellent collision resistence and distribution characteristics. WWW: http://search.cpan.org/dist/Digest-MurmurHash/