Click to See Complete Forum and Search --> : Can I get the original string from a HashCode?
dekelc
Apr 10th, 2006, 10:05 AM
Hello!!
Can I get the original string from a HashCode?
I mean, do the reverse action of GetHashCode.
thanks
:wave:
sevenhalo
Apr 10th, 2006, 10:16 AM
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:
jmcilhinney
Apr 10th, 2006, 07:27 PM
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.
wossname
Apr 11th, 2006, 06:45 AM
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.
BrandonTurner
Apr 11th, 2006, 08:24 AM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.