// mishmash.hpp// // Copyright (C) 2019-2020 MicroNeil Research Corporation. // // This software is released under the MIT license. See LICENSE.TXT. // // Mishamash is a non-cryptographic hash optimized for short strings. #pragma once #include #include namespace codedweller { uint32_t mishmash(const unsigned char* buffer, size_t length) noexcept; uint32_t mishmash(const std::string &s) noexcept; uint32_t mishmash(const std::vector& v) noexcept; } // End namespace codedweller