|
-
Apr 15th, 2004, 03:50 PM
#1
Thread Starter
Frenzied Member
MD5 Encryption...
Can MD5 Hash encryption be decrypted? I'm using the MD5CryptoServiceProvider
Thanx,
Squirrelly1
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
-
Apr 15th, 2004, 04:03 PM
#2
MD5 is a hash, not an encryption. The term "Hash encryption" is a contradiction. Hashes only go one way. They cannot be reversed.
TG
-
Apr 15th, 2004, 04:18 PM
#3
Thread Starter
Frenzied Member
Oh, ok... thanx for clearing it up for me.
One more thing though...
Is there any way to customize how the Hashing is being done using any of the following...
MD5CryptoServiceProvider
SHA512Managed
or any of the other Crypto stuff in VB.Net???
The way it looks to me, anyone can recreate my hashed strings if they know what I hashed from...
Thanks again,
Squirrelly1
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
-
Apr 15th, 2004, 05:20 PM
#4
Originally posted by squirrelly1
Oh, ok... thanx for clearing it up for me.
One more thing though...
Is there any way to customize how the Hashing is being done using any of the following...
MD5CryptoServiceProvider
SHA512Managed
or any of the other Crypto stuff in VB.Net???
The way it looks to me, anyone can recreate my hashed strings if they know what I hashed from...
Thanks again,
Squirrelly1
Customize it? No. They are standard formulas. IF I hash something in, say VB using MD5, I know I can get the same result using MD5 hashing C++, PHP, Java, etc.
Hashing really shouldn't be used to encrypt things (even though it's done all the time) but can be used to determine if a data stream has been tinkered with. Example. Let's say I have a app data file that I keep information concerning the config state of my application. I don't want people to screw with it. So I run the contents through it and get a hash result. The next time I run the app, I put the data back through the hash and get a result. I can then compare that result with the original result and determine if someone has been poking around in the file.
Yes, if they know the source data, they can recreate the same hash. That's actually the prupose of the hash.
TG
-
Apr 15th, 2004, 05:43 PM
#5
Thread Starter
Frenzied Member
Is there any way to see the actual code that does this in VB? Maybe I could create a new class that is just like the Hashing classes in VB and change a few things so that it would be different... 
A lot more work, but seemingly doable if I can get access to the core code of the class...
Where might I find this?
Thanks,
Squirrelly1
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
-
Apr 16th, 2004, 12:08 AM
#6
Try searching at http://www.planetsourcecode.com
I'm sure you'll find what you are looking for there.
TG
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
|