This repository contains standalone, unencumbered definitions of the base-16, base-32, and base-64 binary-to-text encoding algorithms, as outlined in RFC 4648. Experimental support for Ascii85 (base-85 with some caveats) is also included.
To use this code, copy the appropriate .h
and .c
files into
your project, wherever it makes sense. Each implementation is
completely separate from the others.
To run tests:
$ make test