Implementation of Hash named requirement for types that internally store a byte array. This may be used as the hash function in std::unordered_set or std::unordered_map over such types. Internally, this uses a random instance of SipHash-2-4.
Declared in <util/bytevectorhash.h>
class ByteVectorHash final
| Name | Description |
|---|---|
ByteVectorHash [constructor] | Construct the hasher, seeding it with a random SipHash-2-4 key. |
operator() | Compute the hash of a byte vector. |