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

Functions

template<domain D :shared3p >
string bl_strDeclassify (D xor_uint8 ps)
 
template<domain D :shared3p >
string bl_strDeclassify (BlStringVector< D > str, uint i)
 

Detailed Description

Function for converting an array of type xor_uint8 to a string.

Note
D - shared3p protection domain
Supported types - xor_uint8
Parameters
ps- a vector of supported type
Returns
returns a declassified bounded length string, extra bytes are removed
Leakage
Leaks the input

Function Documentation

◆ bl_strDeclassify() [1/2]

template<domain D :shared3p >
string bl_strDeclassify ( BlStringVector< D >  str,
uint  i 
)
Parameters
str- input string vector
i- position of string to declassify

◆ bl_strDeclassify() [2/2]

template<domain D :shared3p >
string bl_strDeclassify ( D xor_uint8  ps)