HASH
====
Convert a string to a 32bit hash value
SMSQ/E and compiled only!
Usage:
------
value.l = HASH(string$)
I picked up this little gem from Wolfgang Lenerz (I have no idea where he
got it from) and packaged it for my own use. I say gem, because I had
tried a few different algorithms before, but this beat them hands down!
I checked it against tens of thousands of words from a dictionary: Each
hash came up uninque! Just remember: This hash generator is case agnostic,
so HASH("HASH") = HASH("hash")
Software status:
----------------
V0.00, pjw, April 18th 2018
V0.01, pjw, April 29th 2019, re-packaged, and assembled with new library
V0.01, pjw, 2022 Apr 28, insignificant tweak
Conditions of use and DISCLAIMER as per Knoware.no
QL Software
