|
blocxx
|
#include <MD5.hpp>
Classes | |
| struct | MD5_CTX |
Public Member Functions | |
| MD5 () | |
| MD5 (const String &input) | |
| Start a MD5 session,. | |
| void | init (const String &input) |
| ~MD5 () | |
| void | update (const String &input) |
| Process more data. | |
| String | toString () |
| Finish the digest, and return the results. | |
| unsigned char * | getDigest () |
Static Public Member Functions | |
| static String | convertBinToHex (const unsigned char *sBin) |
Static Private Member Functions | |
| static void | MD5Init (MD5_CTX *md5ctx) |
| static void | MD5Update (MD5_CTX *md5ctx, const unsigned char *input, UInt32 inputLen) |
| static void | MD5Final (unsigned char *, MD5_CTX *) |
Private Attributes | |
| MD5_CTX | m_ctx |
| unsigned char | m_digest [16] |
| bool | m_finished |
Private Attributes inherited from BLOCXX_NAMESPACE::MD5OStreamBase | |
| MD5StreamBuffer | _buf |
Friends | |
| class | MD5StreamBuffer |
Additional Inherited Members | |
Private Member Functions inherited from BLOCXX_NAMESPACE::MD5OStreamBase | |
| MD5OStreamBase (MD5 *md5) | |
| BLOCXX_NAMESPACE::MD5::MD5 | ( | ) |
Definition at line 128 of file MD5.cpp.
References i, BLOCXX_NAMESPACE::MD5HASHHEXLEN, BLOCXX_NAMESPACE::MD5HASHLEN, and BLOCXX_NAMESPACE::operator==().
Referenced by toString().
Definition at line 117 of file MD5.cpp.
References m_ctx, m_digest, m_finished, and MD5Final().
Referenced by toString().
Definition at line 85 of file MD5.cpp.
References m_ctx, m_finished, MD5Init(), BLOCXX_NAMESPACE::operator==(), and update().
Definition at line 293 of file MD5.cpp.
References BLOCXX_NAMESPACE::Encode(), MD5Update(), BLOCXX_NAMESPACE::operator==(), and BLOCXX_NAMESPACE::PADDING.
Referenced by getDigest().
|
staticprivate |
Definition at line 257 of file MD5.cpp.
References i, BLOCXX_NAMESPACE::MD5Transform(), and BLOCXX_NAMESPACE::operator==().
Referenced by MD5Final(), BLOCXX_NAMESPACE::MD5StreamBuffer::overflow(), update(), and BLOCXX_NAMESPACE::MD5StreamBuffer::xsputn().
| String BLOCXX_NAMESPACE::MD5::toString | ( | ) |
Finish the digest, and return the results.
Definition at line 111 of file MD5.cpp.
References convertBinToHex(), and getDigest().
Process more data.
| input | the additional data to process. |
Definition at line 100 of file MD5.cpp.
References BLOCXX_THROW, m_ctx, m_finished, MD5Update(), and BLOCXX_NAMESPACE::operator==().
|
friend |
|
private |
Definition at line 133 of file MD5.hpp.
Referenced by getDigest(), init(), MD5(), MD5(), BLOCXX_NAMESPACE::MD5StreamBuffer::overflow(), update(), and BLOCXX_NAMESPACE::MD5StreamBuffer::xsputn().
Definition at line 134 of file MD5.hpp.
Referenced by getDigest().
|
private |
Definition at line 135 of file MD5.hpp.
Referenced by getDigest(), init(), and update().