Author

Topic: The encryption library I wrote for shits and giggles (Read 641 times)

member
Activity: 98
Merit: 10
firstbits: 1nathana
So I made this library just to teach my self more about cryptography, so if decryption without the key is as simple as multiplying by 3 and dividing by 2, that is expected.
I would appreciate any and all feedback on its workings, its an eclipse project, where the example encrypts 2 bytes and then decrypts them.
Just to save my own ass here in case some nut job tries to use it to actually secure something, I reserve full rights to this code and any code that does the same thing to the full extent of my rights. Any unauthorized use is prohibited, with the exception of figuring out how it works.
Thanks for taking a look at it (I know the hashing/key deriving function is most likely insecure, but I'm no expert).
And yes, this code is ugly, but that because the only thing I use java for is that first step from psuedocode to c++ or whatever is appropriate.
I assume no responsibility for any eye burning as the result of reading this code.
(Shout out to David Schwartz for helping me fix one of my ADHD induced code-holes on stack overflow)

http://dl.dropbox.com/u/42936303/smelt.zip
Jump to: