Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
net_instaweb::NonceGenerator Class Referenceabstract

#include "nonce_generator.h"

Inheritance diagram for net_instaweb::NonceGenerator:
net_instaweb::HashedNonceGenerator net_instaweb::InputFileNonceGenerator net_instaweb::MockNonceGenerator

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.
 

Detailed Description

Abstract base class for a generator of cryptographic nonce values (ie a cryptographic random number generator).


The documentation for this class was generated from the following file: