| ▲ | eru 2 days ago | |||||||
Sorry, what? That might we one very particular way to write a hash function, but it's far from the only one. Believe it or not, for some purposes taking the first few bytes of a string or even just the length of the string are good hash functions. | ||||||||
| ▲ | andai 2 days ago | parent [-] | |||||||
Well, that's technically also a deterministic random number generator! (I want to say it's not a great one, but... that's apparently context-dependent!) What are those purposes? | ||||||||
| ||||||||