cgatools::util::Md5Digest Class Reference

The MD5 result type. More...

#include <Md5.hpp>

List of all members.

Public Member Functions

 Md5Digest ()
 Create an Md5Digest with all 0's.
 Md5Digest (const void *val)
 Create an Md5Digest with the given value.
void set (const void *val)
 Set the Md5Digest value.
const void * data () const
 Get the Md5Digest binary value. It is 16 bytes.
size_t size () const
 Get the length of the Md5Digest binary value. It is 16 bytes.
std::string hex () const
 Get the hexadecimal string representation of the Md5Digest, as is commonly used by programs like md5sum.

Detailed Description

The MD5 result type.


Constructor & Destructor Documentation

cgatools::util::Md5Digest::Md5Digest ( const void *  val  ) 

Create an Md5Digest with the given value.

Here, val points to 16 bytes that are read by this function.


Member Function Documentation

std::string cgatools::util::Md5Digest::hex (  )  const

Get the hexadecimal string representation of the Md5Digest, as is commonly used by programs like md5sum.

void cgatools::util::Md5Digest::set ( const void *  val  ) 

Set the Md5Digest value.

Here, val points to 16 bytes that are read by this function.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by  doxygen 1.6.2