What is the most efficient way to hash random strings (of maximum 1024 characters, they can be UTF8) to integer values from 0 to 100? I think calculating CRC is the fastest but I’m not sure.
EDIT: The only requirement for this hash is to be super fast and not to change between sessions (same data => same hash value)
Try the following: