rippled
|
Seed functor once per construction. More...
Public Types | |
using | result_type = typename HashAlgorithm::result_type |
Public Member Functions | |
hardened_hash () | |
template<class T > | |
result_type | operator() (T const &t) const noexcept |
Private Attributes | |
detail::seed_pair | m_seeds |
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:
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 96 of file hardened_hash.h.
using ripple::hardened_hash< HashAlgorithm >::result_type = typename HashAlgorithm::result_type |
Definition at line 102 of file hardened_hash.h.
ripple::hardened_hash< HashAlgorithm >::hardened_hash | ( | ) |
Definition at line 104 of file hardened_hash.h.
|
noexcept |
Definition at line 110 of file hardened_hash.h.
|
private |
Definition at line 99 of file hardened_hash.h.