Logo Search packages:      
Sourcecode: inkscape version File versions

Md5Digest Class Reference

#include <digest.h>

Inheritance diagram for Md5Digest:

Digest

List of all members.


Detailed Description

IETF RFC 1321, MD5 Specification http://www.ietf.org/rfc/rfc1321.txt

Definition at line 439 of file digest.h.


Public Types

enum  HashType {
  HASH_NONE, HASH_SHA1, HASH_SHA224, HASH_SHA256,
  HASH_SHA384, HASH_SHA512, HASH_MD5
}

Public Member Functions

virtual void append (const std::vector< unsigned char > buf)
virtual void append (unsigned char *buf, int len)
virtual void append (const std::string &str)
void append (unsigned char ch)
virtual std::vector< unsigned
char > 
finish ()
virtual std::string finishHex ()
virtual int getType ()
 Md5Digest ()
virtual void reset ()
virtual ~Md5Digest ()

Protected Member Functions

virtual void update (unsigned char val)

Protected Attributes

int hashType

Private Member Functions

void hashblock ()

Private Attributes

unsigned long hash [8]
int lenW
unsigned long long size
unsigned long W [64]

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index