Skip to content or view screen version

Hidden Article

This posting has been hidden because it breaches the Indymedia UK (IMC UK) Editorial Guidelines.

IMC UK is an interactive site offering inclusive participation. All postings to the open publishing newswire are the responsibility of the individual authors and not of IMC UK. Although IMC UK volunteers attempt to ensure accuracy of the newswire, they take no responsibility legal or otherwise for the contents of the open publishing site. Mention of external web sites or services is for information purposes only and constitutes neither an endorsement nor a recommendation.

Use it, use it! It safed me last week!!!

karl | 07.06.2003 14:47

http://austria.indymedia.org/front.php3?article_id=25377&group=webcast

Use it, use it! It safed me last week!!!
Use it, use it! It safed me last week!!!


Encryption/Decryption //Message Encrypter- By Jean (cee@post.com) //Script featured on Dynamic Drive //Visit http://www.factbook.fr.st for this script and more len=0; function CalcKey() { len=0; var temp=document.Encrypt.Key.value; for(i=0;i<temp.length;i++) { len=len+temp.charCodeAt(i); } if(len==0) { alert('Please Enter the appropriate Key'); document.Encrypt.Key.focus(); } return len; } function Encryption() { CalcKey(); document.Encrypt.Encrypted.value=""; var txt=document.Encrypt.normal.value; var net=""; var fin=0; if(len>0) { if(txt.length>0) { for(i=0;i<txt.length;i++) { fin=txt.charCodeAt(i)+len; if(fin>99) { net=net+fin; } else { net=net+'0'+fin; } } document.Encrypt.Encrypted.value=net; document.Encrypt.normal.value=""; } else { alert('Please Enter the Text to be Encrypted'); document.Encrypt.normal.focus(); } } } function Decryption() { var txt=document.Encrypt.Encrypted.value; var j=3; var temp1; var res=""; CalcKey(); if(len>0) { if(txt.length>0) { for(i=0;i<txt.length;i+=3) { var temp=txt.substring(i,j); temp1=(parseInt(temp)-len); var t=unescape('%'+temp1.toString(16)); if(t=='%d' || t=='%a') { res=res+' '; } else { res=res+t } j+=3; } document.Encrypt.normal.value=res; document.Encrypt.Encrypted.value=""; } else { alert('Please Enter the Encrypted Text'); document.Encrypt.Encrypted.focus(); } } }

Enter Key: (up to five characters and remember it, because it will be needed for decryption):

Enter/show Text:

Enter/show Encrypted text:  


  

<!-- nedstatbasic("ACQPagsyJpxBNZ+hGQ/ThWydkDCA", 0); // --> Nedstat Basic - Free web site statistics

karl
- e-mail: factbooks@fr.st
- Homepage: http://www.factbooks.fr.st