Javascript encryption algorithm decryption algorithm code

Source: Internet
Author: User
Tip: you can modify some code before running

<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Li Jiang, Devil</title></head><body><SCRIPT LANGUAGE="JavaScript">F23 = {} f23.ts = "8ABC7DLO5MN6Z9EFGdeJfghijkHIVrstuvwWSTUXYabclmnopqKPQRxyz01234" f23.s52e = function (n) {var = nl n. length, t = [], a, B, c, x, m = function (y) {t [t. length] = f23.ts. charAt (y)}, N = f23.ts. length, N2 = N * N, N5 = N * 5for (x = 0; x<nl;x++){a=n.charCodeAt(x)if(a<N5)m(Math.floor(a/N)),m(a%N)else m(Math.floor(a/N2)+5),m(Math.floor(a/N)%N),m(a%N)}var s=t.join("")return String(s.length).length+String(s.length)+s}f23.s52d=function(n){var c=n.charAt(0)*1if(isNaN(c))return ""c=n.substr(1,c)*1if(isNaN(c))return ""var nl=n.length,t=[],a,f,b,x=String(c).length+1,m=function(y){return f23.ts.indexOf(n.charAt(y))},N=f23.ts.lengthif(nl!=x+c)return ""while(x<nl){a=m(x++)if(a<5)f=a*N+m(x)else f=(a-5)*N*N+m(x)*N+m(x+=1)t[t.length]=String.fromCharCode(f)x++}return t.join("")}</sCRIPT><textarea id=t1 >---- General program design ---------------: "α-β-γ", '"complete. website content and directory. 2. the user registers a new user, logs in, retrieves the password, changes the password, modifies the information, sets, and exits the user server using a single server xEncryptDecrypt a Shard
Tip: you can modify some code before running

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.