YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::Md5 Class Reference

#include <Md5.hpp>

Collaboration diagram for yap::Md5:

List of all members.

Public Member Functions

 Md5 ()
 Md5 (const String &source)
 Md5 (IFStream &file)
 Md5 (const uchar *source, Int32 len)
String Calculate (const String &source)
String Calculate (IFStream &file)
String Calculate (const uchar *source, Int32 len)
String GetHash () const
const ucharGetRawHash () const

Private Member Functions

 DISALLOW_COPY (Md5)

Private Attributes

String msHash_
uchar mrawHash_ [16]

Detailed Description

Definition at line 12 of file Md5.hpp.


Constructor & Destructor Documentation

yap::Md5::Md5 ( )

Definition at line 18 of file Md5.cpp.

yap::Md5::Md5 ( const String source)

Definition at line 22 of file Md5.cpp.

Here is the call graph for this function:

yap::Md5::Md5 ( IFStream file)

Definition at line 33 of file Md5.cpp.

Here is the call graph for this function:

yap::Md5::Md5 ( const uchar source,
Int32  len 
)

Definition at line 27 of file Md5.cpp.

Here is the call graph for this function:


Member Function Documentation

String yap::Md5::Calculate ( const String source)

Definition at line 38 of file Md5.cpp.

Here is the caller graph for this function:

String yap::Md5::Calculate ( IFStream file)

Definition at line 43 of file Md5.cpp.

Here is the call graph for this function:

String yap::Md5::Calculate ( const uchar source,
Int32  len 
)

Definition at line 59 of file Md5.cpp.

Here is the call graph for this function:

yap::Md5::DISALLOW_COPY ( Md5  )
private
String yap::Md5::GetHash ( ) const

Definition at line 80 of file Md5.cpp.

const uchar * yap::Md5::GetRawHash ( ) const

Definition at line 85 of file Md5.cpp.


Member Data Documentation

uchar yap::Md5::mrawHash_[16]
private

Definition at line 30 of file Md5.hpp.

String yap::Md5::msHash_
private

Definition at line 29 of file Md5.hpp.


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