#include <iostream>
#include <string>
#include "base.hpp"
int main() {
std::string encoded_64 = base64::encode("Hello world from BASE64! \x1");
std::string decoded_64 = base64::decode(encoded_64);
std::cout<< decoded_64 << " <-> " << encoded_64 << std::endl;
std::string encoded_85 = base85::encode("Hello world from BASE85! \x1");
std::string decoded_85 = base85::decode(encoded_85);
std::cout<< decoded_85 << " <-> " << encoded_85 << std::endl;
std::string encoded_91 = base91::encode("Hello world from BASE91! \x1");
std::string decoded_91 = base91::decode(encoded_91);
std::cout<< decoded_91 << " <-> " << encoded_91 << std::endl;
}
Hello world from BASE64! ☺ <-> SGVsbG8gd29ybGQgZnJvbSBCQVNFNjQhIAE=
Hello world from BASE85! ☺ <-> nm=QNzY<mxA+]new].*bavnv)ml0dFaoqGy
Hello world from BASE91! ☺ <-> \OwJh\Io2Tv!lE^jpr4JuucSS5V*pBkA