go implementation of CodeDweller/mishmash.hpp/cpp
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

12345678
  1. # Mishmash
  2. this is a non-cryptographic hash optimized for short strings.
  3. adapted from CodeDweller/mishmash.h/cpp
  4. https://code.microneil.com/madscientist/CodeDweller/src/branch/master
  5. 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.