2013-06-05 19:19:00 +00:00
|
|
|
#pragma once
|
2012-09-11 03:57:11 +00:00
|
|
|
#include <string>
|
2012-09-09 03:46:19 +00:00
|
|
|
|
|
|
|
|
namespace fc {
|
2012-09-11 03:57:11 +00:00
|
|
|
std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len);
|
2014-10-16 03:32:37 +00:00
|
|
|
inline std::string base64_encode(char const* bytes_to_encode, unsigned int in_len) { return base64_encode( (unsigned char const*)bytes_to_encode, in_len); }
|
2012-09-11 03:57:11 +00:00
|
|
|
std::string base64_encode( const std::string& enc );
|
|
|
|
|
std::string base64_decode( const std::string& encoded_string);
|
2012-09-09 03:46:19 +00:00
|
|
|
} // namespace fc
|