/base64

A base64 encoder/decoder implemented in C++.

Primary LanguageC++MIT LicenseMIT

Base64 Encoder/Decoder

A simple implementation of base64 encoder/decoder.

Read More: https://en.wikipedia.org/wiki/Base64

How to build

Assuming that you have the necessary tools (g++, cmake) installed.

git clone https://github.com/px86/base64
cd base64
mkdir build
cd build
cmake ..
cmake --build .

Usage

Usage: Base64 [OPTIONS]

Options:
  --help            Print this help message
  --input, -i VAL   input file (default is STDIN)
  --decode, -d      decode, instead of encoding
  --wrap, -w VAL    insert newline after VAL chars