Non-cryptographic hash functions for ruby.