diff options
| author | Loic Blot <loic.blot@unix-experience.fr> | 2015-02-21 13:00:57 +0100 |
|---|---|---|
| committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-02-21 14:03:27 +0100 |
| commit | 3998a1f8f98c9d95a4b91b7a95612c6313081279 (patch) | |
| tree | 52a1dfc796173a122fa46955b6fb979271f852b5 /src/util/base64.h | |
| parent | aa31e3c7f31fc00abc64551ebc03ed757311280a (diff) | |
| download | dragonfireclient-3998a1f8f98c9d95a4b91b7a95612c6313081279.tar.xz | |
Move sha1.hpp and base64.hpp to util/
Diffstat (limited to 'src/util/base64.h')
| -rw-r--r-- | src/util/base64.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/util/base64.h b/src/util/base64.h new file mode 100644 index 000000000..1cb175518 --- /dev/null +++ b/src/util/base64.h @@ -0,0 +1,10 @@ +#ifndef BASE64_HEADER +#define BASE64_HEADER + +#include <string> + +bool base64_is_valid(std::string const& s); +std::string base64_encode(unsigned char const* , unsigned int len); +std::string base64_decode(std::string const& s); + +#endif // BASE64_HEADER |
