Rot13 Key: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
Mixed Key: "dVehEijRxkWlOmTnHoSpIDqQLrZtuPgXvMwNyzBfCFsGbaJKcAUY"
This Rot13 script displays the progress of the encryption and decryption in the
status bar, advancing in 10 percent increments. This script also implements the
substring method used in my first Rot13. By using the substring method,
this allows you to configure the alphabet (used in the script) in any order you
would like and the encryption will always be decrypted the same. You can look at this
as your key and without your key the encryption would be much more difficult to decrypt.
You could also use this method to to rotate numbers or different characters other than
Note: The "alph" string within the script must only contain a-z and
Script: (place this section in <head>.)
Body: (place this section in <body>.)
<input type="checkbox" name="encrypt"> Use mixed Key.
<textarea name="normal" cols="30" rows="5">
Text to be encrypted
<input type="button" value="Encrypt / Decrypt" onclick="rot13(this.form);">