A crytographic digest class. More...
#include <secure.h>
Public Member Functions | |
const char * | c_str (void) |
Digest (const char *type) | |
const unsigned char * | get (void) |
operator bool () const | |
operator String () | |
bool | operator! () const |
const char * | operator* () |
bool | operator*= (const char *text) |
bool | operator+= (const char *text) |
void | operator= (const char *id) |
bool | put (const void *memory, size_t size) |
bool | puts (const char *str) |
void | set (const char *id) |
unsigned | size () const |
String | str (void) |
Static Public Member Functions | |
static bool | is (const char *name) |
Test to see if a specific digest type is supported. | |
static String | uuid (const char *name, const unsigned char *ns=NULL) |
static void | uuid (char *string, const char *name, const unsigned char *ns=NULL) |
Protected Member Functions | |
void | release (void) |
A crytographic digest class.
This class can support md5 digests, sha1, sha256, etc, depending on what the underlying library supports. The hash class accumulates the hash in the object.
Definition at line 375 of file secure.h.
static bool ucc::Digest::is | ( | const char * | name | ) | [static] |
Test to see if a specific digest type is supported.
name | of digest we want to check. |