KJB
|
Message Digest 5 computation, using OpenSSL code. More...
#include <wrap_openssl_md5.h>
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< Unit > | Digest |
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... | |
Message Digest 5 computation, using OpenSSL code.
kjb::Missing_dependency | if compiled with NO_LIBS or missing OpenSSL |