Home } Password Protection } Text Encryption



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.
Instructions:

  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!

Add a comment, suggestion, or correction
[For questions about usage, consult the Notes tab above or visit the JavaScript forum. Do not include more than two (2) lines of code in your comments. If you have suggestions or corrections, you can submit them to us.]

    
   
       
[optional]
 
[optional]

   

Comments feed Comment Feed RSS 2.0

Sign up for the JavaScript Weekly

internet.com Privacy Policy
We'll send this script to you!

(just click "Send it!" once!)