One Time Pad Web Demo

While reading Neal Stephenson's Cryptonomicon, I decided to write a simple program to encrypt and decrypt text messages using a One Time Pad algorithm. In Mr. Stephenson's book, the One Time Pad algorithm just uses 25 characters (The letter J is converted to an I). I have expanded this to a total of 94 characters: upper case, lower case, numbers, punctuation marks, and some special characters.

DISCLAIMER: This program is not intended to transmit national secrets or anything that you actually want to keep secret. The key is placed at the beginning of the the ciphertext, therefore it is totally UNSECURE. If a person knows how the algorithm works, they will know the message. I wrote this as a learning experiment, and it is just meant as something fun to play with.