md5.h 311 B

12345678910111213
  1. #ifndef AFUN_MD5_H
  2. #define AFUN_MD5_H
  3. #include "aFunToolExport.h"
  4. /* md5计算工具 */
  5. #define READ_DATA_SIZE (1024)
  6. #define MD5_SIZE (16)
  7. #define MD5_STR_LEN (MD5_SIZE * 2) // md5str的长度
  8. #define MD5_STRING (MD5_STR_LEN + 1)
  9. AFUN_TOOL_EXPORT char *getFileMd5(const char *path);
  10. #endif //AFUN_MD5_H