Random123
|
#include <Random123/threefry.h>
Public Types | |
typedef threefry4x32_ctr_t | ctr_type |
typedef threefry4x32_key_t | key_type |
typedef threefry4x32_key_t | ukey_type |
Public Member Functions | |
ctr_type | operator() (ctr_type ctr, key_type key) |
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 Threefry round function will be applied.
As of September 2011, the authors know of no statistical flaws with ROUNDS=12 or more for Threefry4x32.
typedef threefry4x32_ctr_t r123::Threefry4x32_R< ROUNDS >::ctr_type |
typedef threefry4x32_key_t r123::Threefry4x32_R< ROUNDS >::key_type |
typedef threefry4x32_key_t r123::Threefry4x32_R< ROUNDS >::ukey_type |
|
inline |
|
static |