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
10MD2 : RFC1319 http://www.faqs.org/rfcs/rfc1319.html
11MD4 : RFC1320
12MD5 : RFC1321
13*/
14
15__DCL_BEGIN_NAMESPACE
16
18{
19private:
20 void* __context;
21public:
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
#define DCLCAPI
Definition Config.h:100
unsigned char byte_t
Definition Config.h:274
MD5()
Definition MD5.cpp:57
void update(const void *_p, size_t _n)
Definition MD5.cpp:70