41 for (
size_t index = size - 1; index > 0; --index) {
43 size_t randomValue =
static_cast<size_t>(RandomProvider::GetInstance().GetRandomInteger(BigInteger(static_cast<unsigned long>(index + 1))).ToUnsignedLong());
45 this->
permutations.emplace_back(std::pair<size_t, size_t>(index , randomValue));
Definition of class SecurePermutation.
SecurePermutation(const size_t size)
Default constructor.
PermutationVector permutations
The vector of permutations.