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

Functions

template<domain D :shared3p >
D bool kl_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
Parameters
s,t- string vectors of supported type
Returns
returns true if the first input string is less than the second (in dictionary order)
Leakage
None

Function Documentation

◆ kl_strIsLessThan()

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