Hashes a key with the waterhash algorithm (Specifications)
Arguments: key - the key to be hashed
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(key_type), | intent(in) | :: | key |
pure function seeded_water_hasher( key ) !! Version: Experimental !! !! Hashes a key with the waterhash algorithm !! ([Specifications](../page/specs/stdlib_hashmaps.html#seeded_water_hasher-calculates-a-hash-code-from-a-key)) !! !! Arguments: !! key - the key to be hashed type(key_type), intent(in) :: key integer(int_hash) :: seeded_water_hasher seeded_water_hasher = water_hash( key % value, & int( z'DEADBEEF1EADBEEF', int64 ) ) end function seeded_water_hasher