go implementation of CodeDweller/mishmash.hpp/cpp
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
William Dillon 7bad662b17 updated mishmash - added second hash capabilities by converting Mishmash to a modified variadic function - takes and uses the accumulator if given 3 лет назад
LICENSE.TXT first commit 3 лет назад
README.md updated mishmash - added second hash capabilities by converting Mishmash to a modified variadic function - takes and uses the accumulator if given 3 лет назад
mishmash.go updated mishmash - added second hash capabilities by converting Mishmash to a modified variadic function - takes and uses the accumulator if given 3 лет назад
mishmash_test.go updated mishmash - added second hash capabilities by converting Mishmash to a modified variadic function - takes and uses the accumulator if given 3 лет назад

README.md

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.