Hello!!
Can I get the original string from a HashCode?
I mean, do the reverse action of GetHashCode.
thanks
:wave:
Printable View
Hello!!
Can I get the original string from a HashCode?
I mean, do the reverse action of GetHashCode.
thanks
:wave:
You're going to have alot of trouble doing this without the hash tables (I have a copy from defcon 13, but it's like... 4 DVDs). :sick:
Hashing is intended to be a one-way operation. If you to be able to get the original value back again then use a symmetric encryption method that is intended for the purpose.
Depends what hashing algorithm was used to begin with. if it was MD5 then you might as well not bother. If it's just a quick 32bit one then you could probably brute it in a coffee break.
You could override GetHashCode() with your own hash function that you know how to do forward and backwards(there are very limited ways to do this). But then your hash table would have to save the hash of each object before it mods it to get back to the orginal object.