Skip to content
High-assurance base64
C Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
proof
Makefile
README.md
b64enc.c
base64.cry
base64encode.c
base64encode.h

README.md

This project provides the following:

  • *.c — a fast base64 encoding routine based on libb64.
  • base64.cry — a Cryptol specification of base64.
  • proof/ — a proof that the C code is correct with respect to the Cryptol spec.

You can read about the proof here:

https://galois.com/blog/2013/09/high-assurance-base64/

Usage

To build the C code:

$ make

To run the C code:

$ echo -n 'foobar' | ./b64enc -
Zm9vYmFy

License

C code: public domain, without any warranty. Everything else: MIT license.

Something went wrong with that request. Please try again.