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

Functions

template<domain D :shared3p >
D uint privateRandomPermutation (uint n)
 

Detailed Description

Generates a random private permutation.

Note
D - shared3p protection domain
Parameters
n- length of the permutation
Returns
a random permutation of length n

Function Documentation

◆ privateRandomPermutation()

template<domain D :shared3p >
D uint privateRandomPermutation ( uint  n)