go implementation of CodeDweller/mishmash.hpp/cpp
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Mishmash

this is a non-cryptographic hash optimized for short strings.

adapted from CodeDweller/mishmash.h/cpp https://code.microneil.com/madscientist/CodeDweller/src/branch/master

to use: use the Mishmash function. If you’re in need of a second hash (or could be) keep the second value returned, that’s the accumulator. Mishmash will take that in a second call, along with your string, to create a second hash.