|
|
constexpr | sip_hash (sip_hash const &) noexcept=default |
| |
|
constexpr | sip_hash (sip_hash &&) noexcept=default |
| |
|
constexpr sip_hash & | operator= (sip_hash const &) noexcept=default |
| |
|
constexpr sip_hash & | operator= (sip_hash &&) noexcept=default |
| |
|
| sip_hash (detail::sip_hash_seed_tag) noexcept |
| |
| | sip_hash () noexcept |
| | Create a sip_hash initialized with the global initialized key.
|
| |
|
constexpr | sip_hash (uint64_t k0, uint64_t k1) noexcept |
| |
|
uint64_t | finish () noexcept |
| |
|
void | add (void const *data, size_t size) noexcept |
| |
| uint64_t | complete_message (void const *data, size_t size) const noexcept |
| | Hash a complete message.
|
| |
| uint64_t | operator() (void const *data, size_t size) const noexcept |
| | Hash a complete message.
|
| |
◆ sip_hash()
template<size_t C, size_t D>
Create a sip_hash initialized with the global initialized key.
◆ complete_message()
template<size_t C, size_t D>
| uint64_t v1::sip_hash< C, D >::complete_message |
( |
void const * | data, |
|
|
size_t | size ) const |
|
inlinenoexcept |
Hash a complete message.
This function is significantly faster than using add() and finish().
- Parameters
-
| data | The data to hash. |
| size | The size of the data in bytes. |
- Returns
- The value of the hash.
- Note
- The
sip_hash instance can be reused when using this function
◆ operator()()
template<size_t C, size_t D>
| uint64_t v1::sip_hash< C, D >::operator() |
( |
void const * | data, |
|
|
size_t | size ) const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: