Initial commit. It works.. For a given value of works, has major bug in decrypting buffer.