Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 759 Bytes

README.md

File metadata and controls

36 lines (32 loc) · 759 Bytes

[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]