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

CRC32 Class Reference

CRC Checksum Calculation. More...

#include <crc.h>

Inheritance diagram for CRC32:

HashModule List of all members.

Public Types

enum  { DIGESTSIZE = 4 }

Public Methods

 CRC32 ()
void Update (const byte *input,unsigned int length)
 process more input. More...

void Final (byte *hash)
unsigned int DigestSize ()const
 size of the hash returned by Final(). More...

void Reset ()
void UpdateByte (byte b)
byte GetCrcByte (unsigned int i)const

Detailed Description

CRC Checksum Calculation.

Definition at line 19 of file crc.h.


Member Enumeration Documentation

anonymous enum
 

Definition at line 22 of file crc.h.


Constructor & Destructor Documentation

CRC32::CRC32 ( )
 

Definition at line 120 of file crc.cpp.


Member Function Documentation

unsigned int CRC32::DigestSize ( ) const [inline, virtual]
 

size of the hash returned by Final().

Reimplemented from HashModule.

Definition at line 26 of file crc.h.

void CRC32::Final ( byte * outString ) [virtual]
 

Reimplemented from HashModule.

Definition at line 149 of file crc.cpp.

byte CRC32::GetCrcByte ( unsigned int i ) const [inline]
 

Definition at line 30 of file crc.h.

void CRC32::Reset ( ) [inline]
 

Definition at line 28 of file crc.h.

void CRC32::Update ( const byte * s,
unsigned int n ) [virtual]
 

process more input.

Reimplemented from HashModule.

Definition at line 125 of file crc.cpp.

void CRC32::UpdateByte ( byte b ) [inline]
 

Definition at line 29 of file crc.h.


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