Mercurial > hg > orthanc
comparison Core/Toolbox.h @ 809:8ce2f69436ca
do not return strings with base64
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 07 May 2014 16:39:53 +0200 |
parents | 4689e400e0fa |
children | 0570a8c859cb e57e08ed510f 766a57997121 |
comparison
equal
deleted
inserted
replaced
808:2d9a000aa3a6 | 809:8ce2f69436ca |
---|---|
93 void ComputeSHA1(std::string& result, | 93 void ComputeSHA1(std::string& result, |
94 const std::string& data); | 94 const std::string& data); |
95 | 95 |
96 bool IsSHA1(const std::string& str); | 96 bool IsSHA1(const std::string& str); |
97 | 97 |
98 std::string DecodeBase64(const std::string& data); | 98 void DecodeBase64(std::string& result, |
99 const std::string& data); | |
99 | 100 |
100 std::string EncodeBase64(const std::string& data); | 101 void EncodeBase64(std::string& result, |
102 const std::string& data); | |
101 | 103 |
102 std::string GetPathToExecutable(); | 104 std::string GetPathToExecutable(); |
103 | 105 |
104 std::string GetDirectoryOfExecutable(); | 106 std::string GetDirectoryOfExecutable(); |
105 | 107 |