SecreC 2 language
2.8.0 (2023.09)
Language and standard library reference
|
Functions | |
template<domain D :shared3p > | |
D xor_uint8 | cw128Hash (D xor_uint8[[1]] data, D xor_uint8[[1]] key, uint rowLen) |
Hashes values in the input vector into 128-bit hashes using the Carter-Wegman algorithm.
data | - data vector |
key | - key used for hashing. See cw128GenKey cw128GenKey. |
rowLen | - length of one data element in bytes |
D xor_uint8 cw128Hash | ( | D xor_uint8[[1]] | data, |
D xor_uint8[[1]] | key, | ||
uint | rowLen | ||
) |