template<class HashAlgorithm = beast::Xxhasher>
class xrpl::HardenedHash< HashAlgorithm >
Seed functor once per construction.
A std compatible hash adapter that resists adversarial inputs. For this to work, T must implement in its own namespace:
template <class Hasher>
void
{
}
std::enable_if_t< IsContiguouslyHashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept
Logically concatenate input data to a Hasher.
void hash_append(Hasher &h, Slice const &v)
Do not use any version of Murmur or CityHash for the Hasher template parameter (the hashing algorithm). For details see https://131002.net/siphash/#at
Definition at line 72 of file hardened_hash.h.