base64.h 283 B

123456789
  1. #ifndef _BASE_64_
  2. # define _BASE_64_
  3. # include <string>
  4. # include <fstream>
  5. std::string base64_encode(unsigned char const *, unsigned int);
  6. std::string base64_decode(std::string const &);
  7. bool base64_encode_file(std::string);
  8. bool base64_decode_file(std::string);
  9. #endif