Man Linux: Main Page and Category List


       ost::ChecksumDigest -

       A simple checksum digest function.


       #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.

           David Sugar <> 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.


       Generated automatically by Doxygen for GNU CommonC++ from the source