Home Page - www.tele-pro.co.uk - Ecommerce Integration


Scripts > Rot13

Rot13 is a simple Caesar-cypher encryption, that replaces each English letter with the one 13 places forward or back along the alphabet. View Definition

The Rot13 cypher is used to obfuscate text in the Windows registry, to make captured data on your browsing habits and recent files less noticable - try the following key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\

Enter text to cypher with Rot13


Javascript function

<script type="text/javascript">

var f = document.rform1;
var rn=13;
var br='<br />';

function rot(sd){
if(!(sd))return('');
var sl='ABCDEFGHIJKLM01234`~!@#$^*()=_-'.substring(0,rn); sl+='NOPQRSTUVWXYZ56789+[{]}|;:,<.>?'.substring(0,rn)+sl;
sl+=sl.toLowerCase();
rv='';
for(var ix=0;ix<sd.length;ix++){
var cd=sd.charAt(ix);
rv+=(sl.indexOf(cd)>-1?sl.charAt(sl.indexOf(cd)+rn):cd);
}
f.out.value=rv;
return(rv);
}

</script>

Your Feedback is Important

Why not let us know your feedback, or any suggestions you have? Your opinion and feedback is very important to us and to future website visitors, as it enables the continual improvement of products, services, scripts and software available from this website.

Anonymous

Top | Home | ECommerce | Hosting | Site Map | Search | © 2003-6 | Contact