Write overloads

Synopses

Declared in <crypto/siphash.h>

Hash a 64‐bit integer worth of data. It is treated as if this was the little‐endian interpretation of 8 bytes. This function can only be used when a multiple of 8 bytes have been written so far.

CSipHasher&
Write(uint64_t data);

Hash arbitrary bytes.

CSipHasher&
Write(std::span<unsigned char const> data);

Return Value

Reference to this object, to allow chaining.

Parameters

Name

Description

data

The 64‐bit value to hash.

Created with MrDocs