NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
random.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#ifndef NDN_UTIL_RANDOM_HPP
23
#define NDN_UTIL_RANDOM_HPP
24
25
#include "../common.hpp"
26
27
namespace
ndn
{
28
namespace
random {
29
35
uint32_t
36
generateSecureWord32
();
37
43
uint64_t
44
generateSecureWord64
();
45
55
uint32_t
56
generateWord32
();
57
67
uint64_t
68
generateWord64
();
69
70
}
// namespace random
71
}
// namespace ndn
72
73
#endif // NDN_UTIL_RANDOM_HPP
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::random::generateSecureWord64
uint64_t generateSecureWord64()
Generate a cryptographically secure random integer from the range [0, 2^64)
Definition:
random.cpp:52
ndn::random::generateWord32
uint32_t generateWord32()
Generate a cryptographically non-secure random integer from the range [0, 2^32)
Definition:
random.cpp:73
ndn::random::generateSecureWord32
uint32_t generateSecureWord32()
Generate a cryptographically secure random integer from the range [0, 2^32)
Definition:
random.cpp:46
ndn::random::generateWord64
uint64_t generateWord64()
Generate a cryptographically non-secure random integer from range [0, 2^64)
Definition:
random.cpp:80
ndnSIM
ndn-cxx
src
util
random.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11