Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MaurerRandomnessTest Class Reference

This class implements Maurer's Universal Statistical Test for Random Bit Generators it is intended for measuring the randomness of *PHYSICAL* RNGs. More...

#include <rng.h>

Inheritance diagram for MaurerRandomnessTest:

Sink BufferedTransformation List of all members.

Public Methods

 MaurerRandomnessTest ()
void Put (byte inByte)
 input a byte for processing. More...

void Put (const byte *inString,unsigned int length)
 input multiple bytes. More...

unsigned int BytesNeeded ()const
double GetTestValue ()const

Detailed Description

This class implements Maurer's Universal Statistical Test for Random Bit Generators it is intended for measuring the randomness of *PHYSICAL* RNGs.

For more details see his paper in Journal of Cryptology, 1992.

Definition at line 59 of file rng.h.


Constructor & Destructor Documentation

MaurerRandomnessTest::MaurerRandomnessTest ( )
 

Definition at line 95 of file rng.cpp.


Member Function Documentation

unsigned int MaurerRandomnessTest::BytesNeeded ( ) const [inline]
 

Definition at line 69 of file rng.h.

double MaurerRandomnessTest::GetTestValue ( ) const
 

Definition at line 116 of file rng.cpp.

void MaurerRandomnessTest::Put ( const byte * inString,
unsigned int length ) [virtual]
 

input multiple bytes.

Reimplemented from BufferedTransformation.

Definition at line 110 of file rng.cpp.

void MaurerRandomnessTest::Put ( byte inByte ) [inline, virtual]
 

input a byte for processing.

Reimplemented from BufferedTransformation.

Definition at line 102 of file rng.cpp.

Referenced by Put().


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:16:54 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000