This repository contains a C implementation of the Base64 encoding algorithm, developed as an exercise to practice bitwise operations and data encoding, in preparation for the Computer Networks exam (UNIPD).
Base64 is a widely used encoding scheme that represents binary data in an ASCII string format.
This project manually implements the conversion logic without relying on external libraries, focusing on:
- Bitwise operations
- Left-shift manipulation
- Grouping binary sequences
- Handling padding (
=
)
gcc base64.c -o base64
./base64 "Hello"
SGVsbG8=
- Practice C programming for low-level data handling.
- Gain hands-on experience with bitwise operations.
- Understand how Base64 encoding works internally.
- Prepare for Computer Networks exam (UNIPD) by exploring encoding/decoding mechanisms.