Page Speed Optimization Libraries
1.13.35.1
|
#include "nonce_generator.h"
Public Member Functions | |
uint64 | NewNonce () |
Generate a fresh, ideally cryptographic, nonce. Thread-safe. | |
Protected Member Functions | |
NonceGenerator (AbstractMutex *mutex) | |
Takes ownership of mutex. | |
virtual uint64 | NewNonceImpl ()=0 |
Subclasses must implement this method. Locking is already handled. | |
Abstract base class for a generator of cryptographic nonce values (ie a cryptographic random number generator).