Find a file
2012-08-06 17:04:30 -04:00
.gitignore Fix bug in duplicate detection. 2012-07-28 12:46:03 -03:00
huffman.rb don't let the lookup return nil 2012-08-06 14:37:28 -04:00
Makefile more Makefile tweaks 2012-07-30 12:13:33 -04:00
README.md seperating output for verbosity 2012-08-06 17:04:30 -04:00
thing.rb seperating output for verbosity 2012-08-06 17:04:30 -04:00
unpack.c Add start of C based decoder 2012-07-28 10:51:53 -03:00
unpack.rb adding a ruby unpack'er 2012-08-06 16:31:50 -04:00

== Overview ==

POC to compile a data set into a modified radix tree, and applying huffman encoding.

== Usage ==

Take in an v1 x509 certificate, and extract the content sets, output them to newline delimited output

$> ruby ./thing.rb d this-cert.pem

This would produce a file named 'this-cert.txt' Process this output to generate the compiled output

$> ruby ./thing.rb c this-cert.txt

This would produce a file named 'this-cert.bin' Then, the unpack the binary with:

$> ./unpack this-cert.bin

The 'thing.rb' supports a "-v" verbose flag.

== Code compiles ==

To compile the 'unpack' command, just run make. ( this requires make, gcc, and zlib-devel)