13 lines
211 B
C++
13 lines
211 B
C++
#pragma once
|
|
#include <string>
|
|
using namespace std;
|
|
|
|
class Base64
|
|
{
|
|
public:
|
|
static string Encode(const string& plaintext);
|
|
static string Decode(const string& ciphertext);
|
|
private:
|
|
static char code[65];
|
|
};
|