YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Md5.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_MD5_HPP
2
# define YAPOG_MD5_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Collection/Array.hpp
"
6
# include "
YAPOG/System/IntTypes.hpp
"
7
# include "
YAPOG/System/IOStream.hpp
"
8
# include "
YAPOG/System/String.hpp
"
9
10
namespace
yap
11
{
12
class
YAPOG_LIB
Md5
13
{
14
DISALLOW_COPY
(
Md5
);
15
public
:
16
Md5
();
17
Md5
(
const
String
& source);
18
Md5
(
IFStream
& file);
19
Md5
(
const
uchar
* source,
Int32
len);
20
21
String
Calculate(
const
String
& source);
22
String
Calculate(
IFStream
& file);
23
String
Calculate(
const
uchar
* source,
Int32
len);
24
25
String
GetHash()
const
;
26
const
uchar
* GetRawHash()
const
;
27
28
private
:
29
String
msHash_
;
30
uchar
mrawHash_[16];
31
};
32
}
// namespace yap
33
34
#endif // MD5_HPP
YAPOG
include
YAPOG
System
Hash
Md5.hpp
Generated on Mon Sep 17 2012 22:24:24 for YAPOG by
1.8.1.1