Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ost_digest(3) [debian man page]

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

NAME
ost::Digest - The digest base class is used for implementing and deriving one way hashing functions. SYNOPSIS
#include <digest.h> Inherited by ost::ChecksumDigest, ost::CRC16Digest, ost::CRC32Digest, and ost::MD5Digest. Public Member Functions virtual void initDigest (void)=0 Reset the digest table to an initial default value. virtual ~Digest () Protected Member Functions Digest () virtual unsigned getSize (void)=0 Get the size of a digest in octets. virtual unsigned getDigest (unsigned char *buffer)=0 Copy the binary digest buffer to user memory. virtual void putDigest (const unsigned char *buffer, unsigned length)=0 Put data into the digest bypassing the stream subsystem. virtual std::ostream & strDigest (std::ostream &os)=0 print a digest string for export. Friends std::ostream & operator<< (std::ostream &os, Digest &ia) Detailed Description The digest base class is used for implementing and deriving one way hashing functions. Author: David Sugar dyfet@ostel.com base class for hashing services. Constructor &; Destructor Documentation ost::Digest::Digest () [protected] virtual ost::Digest::~Digest () [virtual] Member Function Documentation virtual unsigned ost::Digest::getDigest (unsigned char *buffer) [protected], [pure virtual] Copy the binary digest buffer to user memory. Returns: number of bytes in digest. Parameters: buffer to write into. Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest. virtual unsigned ost::Digest::getSize (void) [protected], [pure virtual] Get the size of a digest in octets. Returns: number of bytes in digest. Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest. virtual void ost::Digest::initDigest (void) [pure virtual] Reset the digest table to an initial default value. Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest. virtual void ost::Digest::putDigest (const unsigned char *buffer, unsignedlength) [protected], [pure virtual] Put data into the digest bypassing the stream subsystem. Parameters: buffer to read from. length of data. Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest. virtual std::ostream& ost::Digest::strDigest (std::ostream &os) [protected], [pure virtual] print a digest string for export. Returns: string representation of digest. Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest. Friends And Related Function Documentation std::ostream& operator<< (std::ostream &os, Digest &ia) [friend] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::Digest(3)

Check Out this Related Man Page

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

NAME
ost::CRC32Digest - A crc32 collection/computation hash accumulator class. SYNOPSIS
#include <digest.h> Inherits ost::Digest. Public Member Functions CRC32Digest () CRC32Digest (const CRC32Digest &crc) void initDigest (void) unsigned getSize (void) operator const uint32 () const uint32 getDigest (void) unsigned getDigest (unsigned char *buffer) void putDigest (const unsigned char *buffer, unsigned length) CRC32Digest & operator= (const CRC32Digest &right) Protected Member Functions unsigned char overflow (unsigned char octet) std::ostream & strDigest (std::ostream &os) Detailed Description A crc32 collection/computation hash accumulator class. Author: Kevin Kraatz kraatz@arlut.utexas.edu crc32 computation hash. Examples: crc32.cpp. Constructor &; Destructor Documentation ost::CRC32Digest::CRC32Digest () ost::CRC32Digest::CRC32Digest (const CRC32Digest &crc) Member Function Documentation uint32 ost::CRC32Digest::getDigest (void) [inline] Examples: crc32.cpp. unsigned ost::CRC32Digest::getDigest (unsigned char *buffer) [virtual] Implements ost::Digest. unsigned ost::CRC32Digest::getSize (void) [inline], [virtual] Implements ost::Digest. void ost::CRC32Digest::initDigest (void) [virtual] Implements ost::Digest. ost::CRC32Digest::operator const uint32 () const [inline] CRC32Digest& ost::CRC32Digest::operator= (const CRC32Digest &right) unsigned char ost::CRC32Digest::overflow (unsigned charoctet) [protected] void ost::CRC32Digest::putDigest (const unsigned char *buffer, unsignedlength) [virtual] Implements ost::Digest. Examples: crc32.cpp. std::ostream& ost::CRC32Digest::strDigest (std::ostream &os) [protected], [virtual] Implements ost::Digest. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::CRC32Digest(3)
Man Page