Class PRNG
Defined in File prng.h
Page Contents
Inheritance Relationships
Derived Type
public default_prng::Blake2Engine(Class Blake2Engine)
Class Documentation
-
class PRNG
Inheritence diagram for PRNG:
![digraph {
graph [bgcolor="#00000000"]
node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
edge [color="#1414CE"]
"2" [label="default_prng::Blake2Engine" tooltip="default_prng::Blake2Engine"]
"1" [label="PRNG" tooltip="PRNG" fillcolor="#BFBFBF"]
"2" -> "1" [dir=forward tooltip="public-inheritance"]
}](../_images/graphviz-71b836e8d3b1e002eab1c16d6e6f8bf0f6297514.png)
DISCLAIMER: IMPORTANT NOTICE ABOUT FILE MODIFICATIONS
This file is used in OpenFHE’s built-in PRNG and ANY EXTERNAL PRNG. The file is critical to the functionality and the security of the library.
Modifications should only be performed by personnel who understand the potential impacts.
By proceeding with changes to this file, you acknowledge that you understand the risks involved and accept full responsibility for any resulting issues. Abstract base class for any PRNG engine.
Subclassed by default_prng::Blake2Engine
Public Types
-
using result_type = uint32_t
Public Static Functions
-
static inline constexpr result_type min()
minimum value used by C++11 distribution generators when no lower bound is explicitly specified by the user
-
static inline constexpr result_type max()
maximum value used by C++11 distribution generators when no upper bound is explicitly specified by the user
Protected Functions
-
PRNG() = default
-
using result_type = uint32_t