Hi all,
I was wondering if one of the javascript experts could tell me what single word I encrypted to product this string,
pNtKyiQkcIlNxGfPyJgKsgdJdW
using the following code,
I was wondering if one of the javascript experts could tell me what single word I encrypted to product this string,
pNtKyiQkcIlNxGfPyJgKsgdJdW
using the following code,
Code:
<script>
function EncryptString(strVal) {
var v7='aHfEjcDebChGiAfIjDbEjacD',v8=v7.length,v11='0',v3='',v9=strVal.length,v1=0;
var v4,v6,v2,v5=0,nCnt=0;
while (nCnt < v9){
v4 = strVal.charCodeAt(nCnt);
if (v4 >= 128){v4 = 'X';}
v6 = v7.charCodeAt(v1);
v1 += 1;
if (v1 >= v8){v1 = 0;}
v2 = v4 % 16 + v6;
v3 += String.fromCharCode(v2);
v5 += v2;
v6 = v7.charCodeAt(v1);
v1 += 1;
if (v1 >= v8){v1 = 0;}
v2 = Math.floor(v4 / 16) + v6;
v3 += String.fromCharCode(v2);
v5 += v2;
++nCnt;
}
v5 %= 256;
v6 = v7.charCodeAt(v1);
v1 += 1;
if (v1 >= v8){v1 = 0;}
v2 = v5 % 16 + v6;
v3 += String.fromCharCode(v2);
v6 = v7.charCodeAt(v1);
v1 += 1;
if (v1 >= v8){v1 = 0;}
v2 = Math.floor(v5 / 16) + v6;
v3 += String.fromCharCode(v2);
document.write(v3);
}
</script>