Class PseudoRandomNumberGenerator

Page Contents

Class Documentation

class lbcrypto::PseudoRandomNumberGenerator

The class providing the PRNG capability to all random distribution generators in OpenFHE. THe security of Ring Learning With Errors (used for all crypto capabilities in OpenFHE) depends on the randomness of uniform, ternary, and Gaussian distributions, which derive their randomness from the PRNG.

Public Static Functions

static inline void InitPRNG()

Returns a reference to the PRNG engine.

static inline PRNG &GetPRNG()