MD5Context Class Reference

#include md5.h>

Inheritance diagram for MD5Context:

MD5State

Public Member Functions

  MD5Context (void)
  ~MD5Context (void)
void  Reset (void)
void  Update (const void *buffer, size_t length)
void  Update (size_t length)
void  Final (MD5Hash &output)
MD5Hash  Hash (void) const
u64  Bytes (void) const
string  print (void) const

Protected Types

enum   { buffersize = 64 }

Protected Attributes

unsigned char  block [buffersize]
size_t  used
u64  bytes

Friends

ostream &  operator (ostream &s, const MD5Context &context)

Detailed Description

Definition at line 88 of file md5.h.


Member Enumeration Documentation

anonymous enum [protected]

Enumerator:
buffersize 

Definition at line 112 of file md5.h.


Constructor & Destructor Documentation

MD5Context::MD5Context ( void   ) 

MD5Context::~MD5Context ( void   )  [inline]

Definition at line 92 of file md5.h.


Member Function Documentation

void MD5Context::Reset ( void   ) 

Reimplemented from MD5State.

void MD5Context::Update ( const void *  buffer,
size_t  length  
)

void MD5Context::Update ( size_t  length  ) 

void MD5Context::Final ( MD5Hash output  ) 

MD5Hash MD5Context::Hash ( void   )  const

u64 MD5Context::Bytes ( void   )  const [inline]

Definition at line 106 of file md5.h.

string MD5Context::print ( void   )  const


Friends And Related Function Documentation

ostream& operator ( ostream &  s,
const MD5Context context  
) [friend]


Field Documentation

unsigned char MD5Context::block[buffersize] [protected]

Definition at line 113 of file md5.h.

size_t MD5Context::used [protected]

Definition at line 114 of file md5.h.

u64 MD5Context::bytes [protected]

Definition at line 116 of file md5.h.


The documentation for this class was generated from the following file:
Generated on Tue Oct 14 01:40:44 2008 for NNTPGrab by  1.5.4