09.11.2010, 14:28
I can't understand how to unhash a function without bruteforce, supposing I've got this 'hash':
Supposing I hash "ab" (which will give me 195 [98 + 97])
How can you know the password without tryng all combinations?:
X + Y = 195
:\
Sorry if I am doing a stupid question, but I don't understand.
pawn Код:
stock
hash(const string[])
{
new
len,
pos,
hashed
;
for (len = strlen(string), pos = 0; pos < len; pos ++)
{
hashed += string[pos];
}
return 1;
}
How can you know the password without tryng all combinations?:
X + Y = 195
:\
Sorry if I am doing a stupid question, but I don't understand.