DCL
4.0
Loading...
Searching...
No Matches
MD5.h
Go to the documentation of this file.
1
#ifndef __DCL_MD5_H__
2
#define __DCL_MD5_H__
3
4
#ifndef __DCL_STRING_H__
5
#include <
dcl/String.h
>
6
#endif
7
8
// RFC1321
9
/* alternative reference
10
MD2 : RFC1319 http://www.faqs.org/rfcs/rfc1319.html
11
MD4 : RFC1320
12
MD5 : RFC1321
13
*/
14
15
__DCL_BEGIN_NAMESPACE
16
17
class
DCLCAPI
MD5
18
{
19
private
:
20
void
* __context;
21
public
:
22
MD5
();
23
~MD5
();
24
void
update
(
const
void
* _p,
size_t
_n);
25
void
final
(
byte_t
digest[16]);
26
String
final
();
27
28
static
String
final
(
const
String& _s);
29
static
String
final
(
const
ByteString& _s);
30
static
String
final
(
const
void
* _p,
size_t
_n);
31
};
32
33
34
__DCL_END_NAMESPACE
35
36
#endif
// __DCL_MD5_H__
37
DCLCAPI
#define DCLCAPI
Definition
Config.h:100
byte_t
unsigned char byte_t
Definition
Config.h:274
String.h
MD5::MD5
MD5()
Definition
MD5.cpp:57
MD5::update
void update(const void *_p, size_t _n)
Definition
MD5.cpp:70
include
dcl
MD5.h
Generated by
1.14.0