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.
Synopsis
Declared in <util/bytevectorhash.h>
class ByteVectorHash final
Member Functions
Name |
Description |
|
Construct the hasher, seeding it with a random SipHash‐2‐4 key. |
Compute the hash of a byte vector. |
Created with MrDocs