Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 1.46 KB

README.md

File metadata and controls

11 lines (8 loc) · 1.46 KB

A Botched Base64 Decoder

We have been recently admitted to the technical preview of GitHub's Copilot and so we thought about testing it on a small-scale project. We decided to write a rather simple Base64 decoder in C. We also took the time to set up GPG keys and to also give GitHub CLI a go.

Compiling the Code

We have provided a simple Makefile in the source directory. Compiling the project should be as easy as running make from within the src/ directory. We have developed and tested the code on macOS, but it should run out of the bow on Linux-based systems too.

Installing the Program

As we believe this to be a rather silly program we have not included a Makefile target for installing the program itself. Feel free to copy the generated binary to a location on your system's PATH, such as /binor wherever you have decided to place scripts written or compiled by yourself :P

Background on Base64

We have personally never had to deal with Base64 ourselves, so we first had to get acquainted with it on Wikipedia. That article¡s got a ton on information on Base64 and it was the sole source of information we relied on. You can also take a look at RFC 4648 for a more technical discussion.