hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
permutation_generator.hpp File Reference
#include <random>
#include <vector>
Include dependency graph for permutation_generator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  iroha::Seeder
 Helper class to seed a PRNG. For not crypto-related use only. More...
 

Namespaces

 iroha
 

Typedefs

using iroha::RandomEngine = std::mt19937_64
 

Functions

RandomEngine iroha::makeSeededPrng (const char *seed_start, size_t seed_length)
 
RandomEngine iroha::makeSeededPrng (const unsigned char *seed_start, size_t seed_length)
 
void iroha::generatePermutation (std::vector< size_t > &permutation, RandomEngine prng, size_t size)