Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

MD5Hash.cpp File Reference

This file contains the implementation of the MD5Hash class. More...

#include <string.h>
#include "MD5Hash.h"

Go to the source code of this file.

Defines

#define F1(x, y, z)   (z ^ (x & (y ^ z)))
 core function to md5 hash
#define F2(x, y, z)   F1(z, x, y)
 core function to md5 hash
#define F3(x, y, z)   (x ^ y ^ z)
 core function to md5 hash
#define F4(x, y, z)   (y ^ (x | ~z))
 core function to md5 hash
#define MD5STEP(f, w, x, y, z, data, s)   ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
 This is the central step in the MD5 algorithm.

Functions

void byteReverse (unsigned char *buffer, unsigned longs)
 Reverse the bytes of a buffer.


Detailed Description

Author:
Michael Mann
Version:
1.0
Date:
August 2002

Definition in file MD5Hash.cpp.


Function Documentation

void byteReverse unsigned char *  buffer,
unsigned  longs
 

Parameters:
buffer is the byte buffer to reverse
longs is the size (in bytes) of the buffer

Definition at line 16 of file MD5Hash.cpp.

Referenced by MD5Hash::Final(), and MD5Hash::Update().


Generated on Sat Nov 5 11:20:16 2005 for Cpp Freecell Solver by  doxygen 1.4.4