|
-
Sep 26th, 2007, 09:58 AM
#1
Thread Starter
Junior Member
What should be value of pass variable?
Consider this javascipt code:
[pass is a unknown variable n assume declared]
-------------------
var temp = 0;
var alpha = "abcdefghijklmnopqrstuvwxyz";
var char1;
for (i = 0; i < pass.length; i++)
{
char1 = pass.charAt(i);
buf = (alpha.indexOf(char1));
buf += 1;
temp *= 26;
temp += buf;
}
----------------
can anyone tell the value of pass (string) for which temp = 913216169672
Plzz urgent
also tel ,How to create the reverse code to get pass if possible
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|