[ale] HTML encryption?

Stephen J. Pellicer spellicer at itillious.com
Wed Oct 31 01:33:51 EST 2001


By the way, are you at liberty to say what page served this up?

> -----Original Message-----
> From: Keith Hopkins [mailto:hne at inetnow.net]
> Sent: Tuesday, October 30, 2001 4:59 PM
> To: ale
> Subject: [ale] HTML encryption?
> 
> 
> I found an interesting piece of javascript out on a web page, it 
> looks like this.
> 
> <script language="JavaScript"><!--
> ky="";function d(msg){ky=ky+codeIt(key,msg);}var key = 
> "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz<>]
> #\"";function codeIt (mC, eS) {var wTG, mcH =  mC.length / 2, nS 
> = "", dv;for (var x = 0; x < eS.length; x++) {wTG = 
> mC.indexOf(eS.charAt(x));if (wTG > mcH) {dv = wTG - mcH;nS = nS + 
> mC.charAt(33 - dv);}else {if (key.indexOf(eS.charAt(x)) < 0) {nS 
> = nS + eS.charAt(x)}else {dv = mcH - wTG;nS = nS + mC.charAt(33 + 
> dv);}}}return nS;}
> //--></script>
> <script language="JavaScript"><!--
> Decode();document.write(ky);//--></script>
> 
> It was preceeded by another javascript script containing the 
> Decode, which was a very long piece of gar-bage.  I'm guessing 
> this is a way to encrypt html from MOST prying eyes, so, how can 
> I see what it is really doing?
> 
> Lost in Tokyo,
>    Keith
> 
> -- 
> What did the skeleton say to the bartender?
> I'll have two beers and a mop...
> 
> 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. 
> Problems should be 
> sent to listmaster at ale dot org.
> 

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list