Random123
|
#include <Random123/philox.h>
Public Types | |
typedef r123array2x64 | ctr_type |
typedef r123array1x64 | key_type |
typedef r123array1x64 | ukey_type |
Public Member Functions | |
ctr_type | operator() (ctr_type ctr, key_type key) const |
Static Public Attributes | |
static const R123_METAL_CONSTANT_ADDRESS_SPACE unsigned int | rounds =ROUNDS |
exports the member functions, typedefs and operator overloads required by a CBRNG class.
The template argument, ROUNDS, is the number of times the Philox round function will be applied.
As of September 2011, the authors know of no statistical flaws with ROUNDS=6 or more for Philox2x64.
typedef r123array2x64 r123::Philox2x64_R< ROUNDS >::ctr_type |
typedef r123array1x64 r123::Philox2x64_R< ROUNDS >::key_type |
typedef r123array1x64 r123::Philox2x64_R< ROUNDS >::ukey_type |
|
inline |
|
static |