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 kl_str (string s)
 

Detailed Description

Function for constructing a known length string from given public string.

Note
D - shared3p protection domain
Private strings are XOR shared to optimize for equality and comparison checks.
Parameters
s- a string
Returns
XOR shared byte array of length equal to the input public string.

Function Documentation

◆ kl_str()

template<domain D :shared3p >
D xor_uint8 kl_str ( string  s)