ost::Digest(3) | Library Functions Manual | ost::Digest(3) |
ost::Digest - The digest base class is used for implementing and deriving one way hashing functions.
#include <digest.h>
Inherits streambuf, and ostream.
Inherited by ost::ChecksumDigest, ost::CRC16Digest, ost::CRC32Digest, and ost::MD5Digest.
virtual void initDigest (void)=0
Reset the digest table to an initial default value. virtual ~Digest ()
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.
std::ostream & operator<< (std::ostream &os,
Digest &ia)
The digest base class is used for implementing and deriving one way hashing functions.
Author:
Copy the binary digest buffer to user memory.
Returns:
Parameters:
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
Get the size of a digest in octets.
Returns:
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
Reset the digest table to an initial default value.
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
Put data into the digest bypassing the stream subsystem.
Parameters:
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
print a digest string for export.
Returns:
Implemented in ost::MD5Digest, ost::CRC32Digest, ost::CRC16Digest, and ost::ChecksumDigest.
Generated automatically by Doxygen for GNU CommonC++ from the source code.
Wed Oct 31 2018 | GNU CommonC++ |