GNU CommonC++
Public Member Functions | Protected Member Functions

ost::MD5Digest Class Reference

A md5 collection/computation accululator class. More...

#include <digest.h>

Inheritance diagram for ost::MD5Digest:
ost::Digest

List of all members.

Public Member Functions

 MD5Digest ()
void initDigest (void)
unsigned getSize (void)
unsigned getDigest (unsigned char *buffer)
void putDigest (const unsigned char *buffer, unsigned len)

Protected Member Functions

int overflow (int c)
void update (void)
void commit (void)
std::ostream & strDigest (std::ostream &os)

Detailed Description

A md5 collection/computation accululator class.

Author:
David Sugar <dyfet@ostel.com> md5 hash accumulation.
Examples:

digest.cpp.


Constructor & Destructor Documentation

ost::MD5Digest::MD5Digest ( )

Member Function Documentation

void ost::MD5Digest::commit ( void  ) [protected]
unsigned ost::MD5Digest::getDigest ( unsigned char *  buffer) [virtual]

Implements ost::Digest.

unsigned ost::MD5Digest::getSize ( void  ) [inline, virtual]

Implements ost::Digest.

void ost::MD5Digest::initDigest ( void  ) [virtual]

Implements ost::Digest.

int ost::MD5Digest::overflow ( int  c) [protected]
void ost::MD5Digest::putDigest ( const unsigned char *  buffer,
unsigned  len 
) [virtual]

Implements ost::Digest.

std::ostream& ost::MD5Digest::strDigest ( std::ostream &  os) [protected, virtual]

Implements ost::Digest.

void ost::MD5Digest::update ( void  ) [protected]

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