Implement basic encryption

Simple XOR algorithm. When all bytes from the key has been used a new
key is generated using the hash of the old key. Many optimisations that
can still be made to the way the CryptyFile handles the algorithm.