Quote:
Originally Posted by MrDeath
I can't understand how to unhash a function without bruteforce, supposing I've got this 'hash':
pawn Код:
stock hash(const string[]) { new len, pos, hashed ;
for (len = strlen(string), pos = 0; pos < len; pos ++) { hashed += string[pos]; }
return 1; }
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.
|
You need to do this with brute force, but this algorithm has very big collisions (the same hash for many strings).