|
acl
3.5.3.0
|
浏览该文件的文档. 2 #include "../acl_cpp_define.hpp" 21 md5& update(
const void* dat,
size_t len);
39 const char* get_digest()
const;
46 const char* get_string()
const;
58 static const char* md5_digest(
const void *dat,
size_t dlen,
59 const void *key,
size_t klen,
void* out,
size_t size);
72 static const char* md5_string(
const void *dat,
size_t dlen,
73 const void *key,
size_t klen,
char* out,
size_t size);
87 #if defined(_WIN32) || defined(_WIN64) 88 static __int64 md5_file(
const char* path,
const void *key,
89 size_t klen,
char* out,
size_t size);
91 static long long int md5_file(
const char* path,
const void *key,
92 size_t klen,
char* out,
size_t size);
106 #if defined(_WIN32) || defined(_WIN64) 107 static __int64 md5_file(
istream& in,
const void *key,
108 size_t klen,
char* out,
size_t size);
110 static long long int md5_file(
istream& in,
const void *key,
111 size_t klen,
char* out,
size_t size);
123 static const char* hex_encode(
const void *in,
char* out,
size_t size);
126 unsigned int buf_[4];
127 unsigned int bytes_[2];
128 unsigned int in_[16];
130 unsigned char digest_[16];
131 unsigned char digest_s_[33];