SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions

Functions

template<domain D :shared3p >
D xor_uint8 cw128Hash (D xor_uint8 data, uint rowLen)
 

Detailed Description

Hashes values in the input vector into 128-bit hashes using the Carter-Wegman algorithm.

Note
D - shared3p protection domain
Parameters
data- data vector
rowLen- length of one data element in bytes
Leakage
None

Function Documentation

◆ cw128Hash()

template<domain D :shared3p >
D xor_uint8 cw128Hash ( D xor_uint8  data,
uint  rowLen 
)