From 3998a1f8f98c9d95a4b91b7a95612c6313081279 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sat, 21 Feb 2015 13:00:57 +0100 Subject: Move sha1.hpp and base64.hpp to util/ --- src/util/base64.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/util/base64.h (limited to 'src/util/base64.h') 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 + +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 -- cgit v1.2.3