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