Optimized for Google Chrome ...because Internet Explorer sucks donkey balls
Back | Home

Simple (but weak) Web Encryption

I originally wrote the allSearch several years ago (back in 1999 I think). Being an open source kind of guy, I allowed people to use the code and modify it to their liking with the exception that they leave a very small comment within the source; I could care less if they mentioned my name in the actual content of their web page. In 2002, I was searching for some material and stumbled upon my allSearch on a real estate web site. I thought, "Cool! Someone is actually using my stuff!" When I looked at the source, I could clearly tell that it was my code. The only difference was that they had completely removed my name in the copyright notice and replaced it with theirs; the rest was worded just as I had worded mine originally. Now this just got under my skin. I don't see why it is so difficult to leave copyright comments within the code; it's not as if the whole world will see it.

Anyways, after searching for more inclusive search engines, I found several more buffoons who had done the same thing to the exact same piece of code (the allSearch). It's somewhat of an honor to have your code used in many places, but it's a literal slap in the face to have your name stripped from it. I then decided to attempt to implement some sort of weak encryption for my code. This way I would deter the majority of idiots who just grab code and place their name all over it. These are the guys who probably know very little about coding anyways, thus the reason why they grab other people's code. I call these people pompous fools. As the great Richard Feynman once proclaimed, "Ordinary fools are all right; you can talk to them and try to help them out. But pompous fools--guys who are fools and are covering it all over and impressing people as to how wonderful they are with all this hocus pocus--THAT I CANNOT STAND!"

So, I came up with this encryption tool. Yeah, I know what you're going to say: "Hey, what about that whole open source thing?" Well, the people that are smart enough to modify open source code to suit their needs are probably smart enough to reverse-engineer my weak web code garbling skills... I think. To implement it in your code (and you certainly don't have to, by the way), simply enter the text you wish to encrypt in the specified area. Currently it supports HTML and JavaScript; I plan on attempting to add PHP support in the future, although I do not think this is possible due to the nature of how PHP is interpreted by the server. The resulting encrypted text can then be cut-and-pasted to your web document. Note that JavaScript is necessary for this to work. I include an example below.

If you wish to observe a real working example, please check out the old version of my allSearch. For fun, I illustrate what can be done (with some appropriate verification code) if someone modifies your copyright information (try to submit the form--and ignore the resulting popup; the information is seriously dated).

HTML or JavaScript text to encrypt:

Please submit any bugs to
If you want to look young and thin, hang around old fat people.
Last updated: 2015-12-07 12:58