SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions

Functions

template<domain D :shared3p >
D bool bl_strIsLessThan (D xor_uint8[[1]] s, D xor_uint8[[1]] t)
 

Detailed Description

function for comparing two strings alphabetically

Note
D - shared3p protection domain
Supported types - xor_uint8
See bl_strLessThan for parallel version.
Parameters
s,t- input string vectors of supported type
Returns
returns true if s < t
Leakage
None

Function Documentation

◆ bl_strIsLessThan()

D bool bl_strIsLessThan ( D xor_uint8[[1]]  s,
D xor_uint8[[1]]  t 
)