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

MD5HashAlgorithm< Key > Class Template Reference

templated hash algorithm class More...

#include <HashAlgorithms.h>

Inheritance diagram for MD5HashAlgorithm< Key >:

AHashAlgorithm< Key > List of all members.

Public Member Functions

virtual int Hash (const Key *key)
 Hash function.

Protected Attributes

MD5Hash m_MD5Hash
 MD5Hash functionality used for the hash.

Detailed Description

template<class Key>
class MD5HashAlgorithm< Key >

This hash algorithm uses the MD5 hash algorithm

Definition at line 61 of file HashAlgorithms.h.


Member Function Documentation

template<class Key>
int MD5HashAlgorithm< Key >::Hash const Key *  key  )  [virtual]
 

Parameters:
key is the value to be hashed
Returns:
Returns hash value

Implements AHashAlgorithm< Key >.

Reimplemented in MD5StateWithLocationsHashAlgorithm, and MD5TalonStateDataHashAlgorithm.

Definition at line 75 of file HashAlgorithms.h.

References MD5Hash::Final(), MD5Hash::Init(), MD5HashAlgorithm< Key >::m_MD5Hash, MD5_HASHBYTES, and MD5Hash::Update().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 11:20:17 2005 for Cpp Freecell Solver by  doxygen 1.4.4