My own (bad) encryption!

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#

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s