Text Encryption | JavaScriptSource

Text Encryption

Tomislav Sereg Sep 9, 2000
This JavaScript library provides encryption using simple, text-oriented method called column transposition. The idea is to write the plain text in block on the row-first bases. The text is then read column-first. The trick is in that the columns are not read from left to right, but in the order specified by the encryption key. Transliteration is also used.

  1. Input the password into the password field.
  2. Optionally, input the signature into the signature field:
  3. Input the plain text into the plain text field.
  4. Press the SECURE button and observe the encrypted text.
  5. Press the UNSECURE button and look at the decrypted text.
  6. Check the 'new lines used' if you used new lines in the plain text

Password: Optional signature:
New lines used

Plain text:

Encrypted text:

The JavaScript Source: Password Protection: Text Encryption

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response