William Dillon ba60fcb929 updated mishmash - engine returns accumulator for use with Mishmash which takes it as an optional seed. Mishmash can be seeded however desired through this mechanism as well. Added simple function to decode accumulator for ease of use when we're going to be double hashing | vor 3 Jahren | |
---|---|---|
LICENSE.TXT | vor 3 Jahren | |
README.md | vor 3 Jahren | |
mishmash.go | vor 3 Jahren | |
mishmash_test.go | vor 3 Jahren |
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 use Engine instead, which will return the accumulator. You can use the MishmashAccumulator function to mishmash your accumulator, and could also feed that accumulator back into Mishmash to double hash.