Text encryption and decryption implemented by JavaScript

Source: Internet
Author: User
ArticleDirectory
    • Text encryption and decryption

Text encryption and decryption <p> <meta http-equiv = "Content-Type" content = "text/html; charset = gb2312 "> <meta name =" Description "content =" text encryption and decryption: Copy your text to the following input box, you can complete text encryption and decryption "> <meta name =" keywords "content =" text encryption and decryption: Copy your text to the following input box, you can complete text encryption and decryption "> <meta http-equiv =" expires "content =" 0 "> <meta http-equiv =" Pragma "content =" no-Cache "> <meta http-equiv = "refresh" content = "200"> <base onmouseover = "window. status = 'text encryption and decryption: Copy your text to the following input box to complete text encryption and decryption | QQ: 8080 '; return true "> <link href =" http://www.knowsky.com/style.css "rel =" stylesheet "type =" text/CSS "> <Table border =" 0 "cellpadding =" 9 "style =" border -collapse: collapse "width =" 776 "align =" center "cellspacing =" 0 "> <tr> <TD valign =" TOP "Height =" 31 "align =" center "class = "T15"> <B> text encryption and decryption </B> </TD> </tr> <TD valign = "TOP" Height = "25" align =" center "> <p> copy your text to the following input box, you can complete text encryption and decryption </P> </TD> </tr> <TD valign = "TOP"> <Table cellspacing = "0" cellpadding = "0 "width =" 600 "align =" center "style =" border: #98a7b8 1px solid; "bgcolor =" # fcfcfc "> <tr> <TD Height =" 15 "colspan =" 2 "> </TD> </tr> <TD align =" right "width =" 80 "> original string: </TD> <textarea id = "AF1" style = "width: 98% "name =" AF1 "rows =" 10 "> <input onclick+'af1.select(registry.document.exe ccommand (" copy ") 'Type = "button" value = "copy" name = "button"> <input onclick = "af1.value + = paste3 () "type =" button "value =" Paste "name =" button "> <input onclick = 'af1. value = "" 'Type = "button" value = "clear" name = "button"> Encryption result: <textarea id="af2" style="WIDTH: 98%" name="af2" rows="10"><Input onclickask'af2.select(registry.document.exe ccommand ("copy") 'type = "button" value = "copy" name = "button"> <input onclick = "af2.value + = paste3 () "type =" button "value =" Paste "name =" button "> <input onclick = 'af2. value = "" 'Type = "button" value = "clear" name = "button"></textarea>

Ciphertext characters:A password is a string consisting of 41 different letters. different passwords have different encryption and decryption results. The encryption result uses the characters in the password as the basic element, the password cannot contain a letter Z. Otherwise, an error may occur when encrypting the text with Chinese characters.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.