Mercurial > hg > orthanc
comparison Core/Toolbox.h @ 693:01d8611c4a60
md5 for attached files
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Feb 2014 17:52:51 +0100 |
parents | 2e67366aab83 |
children | 203157cb4fde |
comparison
equal
deleted
inserted
replaced
692:1a3f9d90a2dd | 693:01d8611c4a60 |
---|---|
86 uint64_t GetFileSize(const std::string& path); | 86 uint64_t GetFileSize(const std::string& path); |
87 | 87 |
88 void ComputeMD5(std::string& result, | 88 void ComputeMD5(std::string& result, |
89 const std::string& data); | 89 const std::string& data); |
90 | 90 |
91 void ComputeMD5(std::string& result, | |
92 const void* data, | |
93 size_t length); | |
94 | |
91 void ComputeSHA1(std::string& result, | 95 void ComputeSHA1(std::string& result, |
92 const std::string& data); | 96 const std::string& data); |
93 | 97 |
94 bool IsSHA1(const std::string& str); | 98 bool IsSHA1(const std::string& str); |
95 | 99 |