maroon: Yes, $hash(,32) is used for hash tables.

Hash tables use a different hashing algorithm. They may have used the same method long ago though. I haven't tested either in a long time. Neither are likely to achieve good results with SMhasher.

The algorithm for $hash() cannot be changed since it has been in use for so long and its results may be relied on by scripts.

The algorithm for hash tables could be changed. The current algorithm was chosen at the time because it was simple, fast, and "good enough".