Extract one of eight 32‐bit sub‐hashes from a 256‐bit key.
Synopsis
Declared in <util/hasher.h>
template<uint8_t hash_select>
uint32_t
operator()(uint256 const& key) const;
Return Value
The selected 32‐bit word of the key.
Template Parameters
Name |
Description |
hash_select |
Which 32‐bit word to read, in the range 0 to 7. |
Parameters
Name |
Description |
key |
The 256‐bit key to read the sub‐hash from. |
Created with MrDocs