#include <OW_CryptographicRandomNumber.hpp>
Public Member Functions | ||||
CryptographicRandomNumber (Int32 lowVal=0, Int32 highVal=RAND_MAX) | ||||
Int32 | getNextNumber () | |||
| ||||
Static Public Member Functions | ||||
static void | initRandomness () | |||
static void | saveRandomState () | |||
Private Attributes | ||||
Int32 | m_lowVal | |||
Int32 | m_highVal | |||
Int32 | m_range | |||
int | m_numBits |
Definition at line 56 of file OW_CryptographicRandomNumber.hpp.
|
Definition at line 110 of file OW_CryptographicRandomNumber.cpp. References OW_NAMESPACE::callOnce(), OW_NAMESPACE::guard, initRandomness(), and OW_ASSERT. |
|
The caller should treat this as a serious error. Definition at line 122 of file OW_CryptographicRandomNumber.cpp. References m_lowVal, m_numBits, m_range, and OW_THROW. Referenced by OW_NAMESPACE::generateNewCookieFile(), OW_NAMESPACE::DigestAuthentication::generateNewNonce(), OW_NAMESPACE::ListenerAuthenticator::getNewCredentials(), OW_NAMESPACE::getRandomBytes(), and OW_NAMESPACE::FileSystem::initRandomFile(). |
|
Definition at line 564 of file OW_CryptographicRandomNumber.cpp. Referenced by CryptographicRandomNumber(). |
|
Definition at line 727 of file OW_CryptographicRandomNumber.cpp. References OW_NAMESPACE::FileSystem::Path::dirname(), MAXPATHLEN, OW_NAMESPACE::randFilePathIsSecure(), and OW_NAMESPACE::FileSystem::removeFile(). |
|
Definition at line 76 of file OW_CryptographicRandomNumber.hpp. |
|
Definition at line 75 of file OW_CryptographicRandomNumber.hpp. Referenced by getNextNumber(). |
|
Definition at line 78 of file OW_CryptographicRandomNumber.hpp. Referenced by getNextNumber(). |
|
Definition at line 77 of file OW_CryptographicRandomNumber.hpp. Referenced by getNextNumber(). |