Skip to content

Base64 encoding/decoding tool [C++11, 14, 17, 20] + header file

License

Notifications You must be signed in to change notification settings

Gurguii/Base64-encoder-decoder-

Repository files navigation

[C++] - Base64 encoder/decoder

Description

Program that allows base64 encoding and decoding text/file.

Setup

Clone de project

git clone https://github.com/Gurguii/Base64-encoder-decoder-

Get into the project directory

cd Base64-encoder-decoder-

Compile

Compiling C++20 version(just change both 20 depending on the file you want to compile)

g++ -std=c++20 base64_C++20.cpp -o <executable_name_you_desire>

Encoding

./base <file|string>

Decoding

./base -d <file|string>

or

./base <file|string> -d  

Output

Encoded/decoded data will be printed so in order to save output to file just redirect it:
./base "hello world¡" > [filename]

About

Base64 encoding/decoding tool [C++11, 14, 17, 20] + header file

Topics

Resources

License

Stars

Watchers

Forks

Languages