Skip to content

knight00800/base64

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

http://corp.galois.com/blog/2013/9/11/high-assurance-base64.html

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.

Contributing

Please report bugs and feature requests using the GitHub issue tracker.

About

High-assurance base64

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 84.9%
  • Makefile 15.1%