KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
kjb::MD5 Class Reference

Message Digest 5 computation, using OpenSSL code. More...

#include <wrap_openssl_md5.h>

Inheritance diagram for kjb::MD5:
kjb::OpenSSL_EVP

Additional Inherited Members

- Public Types inherited from kjb::OpenSSL_EVP
typedef unsigned char Unit
 The basic unit of both input and output for the hasher. More...
 
typedef std::vector< UnitDigest
 Type of output of the hasher. More...
 
- Public Member Functions inherited from kjb::OpenSSL_EVP
 OpenSSL_EVP ()
 ctor must specify the algorithm More...
 
 ~OpenSSL_EVP ()
 this thing needs a dtor or it leaks More...
 
void write (const void *data, unsigned long len)
 Hash an array of bytes; len is the number of bytes. More...
 
template<typename T >
void put (const T &datum)
 Hash a single primitive datum, using a "shallow read". More...
 
template<typename SeqIterator >
void write (SeqIterator begin, SeqIterator end)
 Hash a container of primitive data via STL sequential iterators. More...
 
size_t size () const
 Return size of message digest. More...
 
Digest copy_digest ()
 Return a copy of the message digest. More...
 
Unit operator[] (size_t index)
 Access one character of the message digest. More...
 
Digest::const_iterator begin ()
 Return const iterator to start of message digest. More...
 
Digest::const_iterator end ()
 Return const iterator to one-past-last of message digest. More...
 
bool is_finalized () const
 Return whether the hasher is finalized, i.e., can I write to it? More...
 

Detailed Description

Message Digest 5 computation, using OpenSSL code.

Exceptions
kjb::Missing_dependencyif compiled with NO_LIBS or missing OpenSSL

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