#include <userver/utils/str_icase.hpp>
Case insensitive ASCII hashing functor.
Definition at line 54 of file str_icase.hpp.
Public Member Functions | |
StrIcaseHash () | |
Generates a new random hash seed for each hasher instance. | |
StrIcaseHash (HashSeed seed) noexcept | |
std::size_t | operator() (std::string_view s) const &noexcept |
|
explicitnoexcept |
Uses the provided seed. Use with caution: a constant seed makes the hasher vulnerable to HashDOS attacks when arbitrary keys are allowed.