NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
random.cpp File Reference
#include "common.hpp"
#include "random.hpp"
#include <boost/nondet_random.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_int_distribution.hpp>
#include "../security/cryptopp.hpp"
Include dependency graph for random.cpp:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::random
 

Functions

static CryptoPP::AutoSeededRandomPool & ndn::random::getSecureRandomGenerator ()
 
uint32_t ndn::random::generateSecureWord32 ()
 Generate a cryptographically secure random integer from the range [0, 2^32) More...
 
uint64_t ndn::random::generateSecureWord64 ()
 Generate a cryptographically secure random integer from the range [0, 2^64) More...
 
static boost::random::mt19937 & ndn::random::getRandomGenerator ()
 
uint32_t ndn::random::generateWord32 ()
 Generate a cryptographically non-secure random integer from the range [0, 2^32) More...
 
uint64_t ndn::random::generateWord64 ()
 Generate a cryptographically non-secure random integer from range [0, 2^64) More...