|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
22 #ifndef ELM_CHECKSUM_MD5_H
23 #define ELM_CHECKSUM_MD5_H
25 #include <elm/types.h>
26 #include <elm/string.h>
28 #include <elm/io/InStream.h>
29 #include <elm/io/OutStream.h>
31 namespace elm {
namespace checksum {
45 void put(
const string&
str);
55 virtual int write(
const char *buffer,
int size);
56 virtual int flush(
void);
64 void encode(
unsigned char *buf);
65 void addsize (
unsigned char *M, md5_size index, md5_size oldlen);
81 #endif // ELM_CHECKSUM_MD5_H
void print(io::Output &out)
Definition: checksum_MD5.cpp:328
MD5 & operator<<(const char *str)
Definition: MD5.h:49
typename type_info< T >::out_t out
Definition: type_info.h:284
MD5 & operator<<(const String &str)
Definition: MD5.h:51
unsigned char digest_t[16]
Definition: MD5.h:36
virtual int flush(void)
Definition: checksum_MD5.cpp:403
t::uint32 C
Definition: MD5.h:69
typename type_info< T >::in_t in
Definition: type_info.h:283
io::Output & operator<<(io::Output &out, MD5 &md5)
Definition: MD5.h:77
MD5 & operator<<(const T &value)
Definition: MD5.h:52
void put(const void *buffer, t::uint32 length)
Definition: checksum_MD5.cpp:125
virtual cstring lastErrorMessage(void)
Definition: checksum_MD5.cpp:410
virtual ~MD5(void)
Definition: checksum_MD5.cpp:114
Definition: OutStream.h:30
t::uint32 A
Definition: MD5.h:69
t::uint32 D
Definition: MD5.h:69
t::uint32 B
Definition: MD5.h:69
unsigned int uint32
Definition: arch.h:31
void digest(digest_t tab)
Definition: checksum_MD5.cpp:318
MD5 & operator<<(const CString &str)
Definition: MD5.h:50
string str(const char *s)
Definition: String.h:150
MD5(void)
Definition: checksum_MD5.cpp:99
virtual int write(const char *buffer, int size)
Definition: checksum_MD5.cpp:395
Definition: InStream.h:29