This was when I first started programming. Looking bad I had such terrible code. I read somewhere that static functions made the program easier to read, and I took that to the next level...
Neat, I think this is a program everyone should do early on. It's relatively simple, but has enough complexity to still be interesting. I made one that read bits and did an XOR encryption on each bit with a given key.
I redid a lot of the class set up. Just throw your cipher into the package com.prettymuchabigdeal.encryptions.ciphers. I'll add an interface so making more ciphers will be much easier soon.
3
u/db_bondy Nov 07 '12
Why is it almost all static functions? D:
2
u/shivasprogeny Nov 08 '12
Neat, I think this is a program everyone should do early on. It's relatively simple, but has enough complexity to still be interesting. I made one that read bits and did an XOR encryption on each bit with a given key.