|
-
Apr 10th, 2006, 10:05 AM
#1
Thread Starter
Fanatic Member
Can I get the original string from a HashCode?
Hello!!
Can I get the original string from a HashCode?
I mean, do the reverse action of GetHashCode.
thanks
-
Apr 10th, 2006, 10:16 AM
#2
Re: Can I get the original string from a HashCode?
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).
-
Apr 10th, 2006, 07:27 PM
#3
Re: Can I get the original string from a HashCode?
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.
-
Apr 11th, 2006, 06:45 AM
#4
Re: Can I get the original string from a HashCode?
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.
I don't live here any more.
-
Apr 11th, 2006, 08:24 AM
#5
Hyperactive Member
Re: Can I get the original string from a HashCode?
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.
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
|