Scroll to navigation

ost::ChecksumDigest(3) Library Functions Manual ost::ChecksumDigest(3)

NAME

ost::ChecksumDigest - A simple checksum digest function.

SYNOPSIS

#include <digest.h>

Inherits ost::Digest.

Public Member Functions


ChecksumDigest ()
void initDigest (void)
unsigned getSize (void)
unsigned getDigest (unsigned char *buffer)
void putDigest (const unsigned char *buffer, unsigned length)

Protected Member Functions


int overflow (int c)
std::ostream & strDigest (std::ostream &os)

Detailed Description

A simple checksum digest function.

Author

David Sugar dyfet@ostel.com

checksum hash function.

Constructor & Destructor Documentation

ost::ChecksumDigest::ChecksumDigest ()

Member Function Documentation

unsigned ost::ChecksumDigest::getDigest (unsigned char * buffer) [virtual]

Implements ost::Digest.

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

Implements ost::Digest.

void ost::ChecksumDigest::initDigest (void) [inline], [virtual]

Implements ost::Digest.

int ost::ChecksumDigest::overflow (int c) [protected]

void ost::ChecksumDigest::putDigest (const unsigned char * buffer, unsigned length) [virtual]

Implements ost::Digest.

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

Implements ost::Digest.

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
Sun Dec 27 2020 GNU CommonC++