A static string-formatting class for the output of md5::digest. More...
#include <md5.h>
Static Public Member Functions | |
static string_type | rfc (const digest &) |
Returns the digest string in the RFC format. More... | |
static string_type | rfc (const digest::state_type &) |
Returns the digest string in the RFC format. More... | |
static string_type | raw (const digest::state_type &) |
Returns the raw digest data as a std::string. More... | |
A static string-formatting class for the output of md5::digest.
Various static methods are provided to convert the md5::digest::state_type structure into more useful formats, including the printable format defined by RFC 1321.
|
static |
Returns the raw digest data as a std::string.
The returned std::string buffer will typically contain non-printing characters, including NULs.
Definition at line 252 of file md5.cpp.
References md5::digest::state_type::a, md5::digest::state_type::b, md5::digest::state_type::c, and md5::digest::state_type::d.
|
static |
Returns the digest string in the RFC format.
Definition at line 274 of file md5.cpp.
References md5::digest::state().
|
static |
Returns the digest string in the RFC format.
Definition at line 279 of file md5.cpp.
References md5::digest::state_type::a, md5::digest::state_type::b, md5::digest::state_type::c, and md5::digest::state_type::d.