A Valid Opinion

June 15, 2009

My own (bad) encryption!

Filed under: Programming — Epitaph64 @ 4:08 pm

I was bored, and decided to use my recent knowledge of bit operations to make a super easy to hack encryption method.

Here’s the source code

It basically uses a randomly generated byte[128] array and XORs the values inside it with the string given as input. Then it XORs them again to return the original values. Not the strongest encryption, but good enough to fool someone at first glance, perhaps.

qZw9@|gJ
ayb2N.fBv iwDkaOIT#

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.