Initial commit
Add NetBSD based getopt
Shuffle code around to create read_encr function.
Handle input arguments and require an input file arg for now.
Change read_encr to accept pointer to uint8_t pointer to return the buffer.
Add write_decoded function.
Make it actually write out decoded data.
Add comment blocks.
Rename write_decoded to write_buffer.
Nuke printf.
Add missing frees.