|
ucommon
|
A cryptographic digest class. More...
#include <secure.h>
Public Member Functions | |
| char * | c_str (void) |
| Digest (char *type) | |
| unsigned char * | get (void) |
| operator bool () | |
| operator String () | |
| bool | operator! () |
| char * | operator* () |
| bool | operator*= (char *text) |
| bool | operator+= (char *text) |
| void | operator= (char *id) |
| bool | put (void *memory, size_t size) |
| bool | puts (char *str) |
| void | recycle (bool binary=false) |
| Finalize and recycle current digest to start a new digest. | |
| void | reset (void) |
| Reset and restart digest object. | |
| void | set (char *id) |
| unsigned | size () |
| String | str (void) |
Static Public Member Functions | |
| static bool | is (char *name) |
| Test to see if a specific digest type is supported. | |
| static void | uuid (char *string, char *name, unsigned char *ns=((void *) 0)) |
| static String | uuid (char *name, unsigned char *ns=((void *) 0)) |
Protected Member Functions | |
| void | release (void) |
A cryptographic 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.
| static bool ucommon::Digest::is | ( | char * | name | ) | [static] |
Test to see if a specific digest type is supported.
| name | of digest we want to check. |
| void ucommon::Digest::recycle | ( | bool | binary = false | ) |
Finalize and recycle current digest to start a new digest.
| binary | digest used rather than text if true. |
1.7.6.1