int fnv1a_hash(string seed)
Hashes the given string into an integer value using the Fowlder-Noll-Vo string hashing function.
Note
Two different strings may hash to the same value, but the chance of duplicate strings is much less than with random_shash.
Note
The returned value may be very large and can cause an overflow when further multiplied or is cast to float.
| See also | |
| random |