473,473 Members | 2,060 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to decrypt the encrypted data

3 New Member
Hello friends ,
I am using C# in DotNet 2005.
i used md5 encoding to encrypt the password .....using the namespace System.Security.Cryptography..

how to decrypt this password?
Jun 10 '07 #1
6 1870
dip_developer
648 Recognized Expert Contributor
Hello friends ,
I am using C# in DotNet 2005.
i used md5 encoding to encrypt the password .....using the namespace System.Security.Cryptography..

how to decrypt this password?

MD5 hashes cannot be decrypted. MD5 encryption is one-way.
Jun 11 '07 #2
dip_developer
648 Recognized Expert Contributor
MD5 hashes cannot be decrypted. MD5 encryption is one-way.
though you cannot decrypt your MD5 hash through code...you may get back your original string by going into this site from a huge database of MD5 encrypted string they maintain............

EDIT: No cracking sites allowed.
Jun 11 '07 #3
sulaimanvp
3 New Member
thanx ...dip_developer...

it was great....

but is there any other way to encrypt and decrypt the passwords...
Jun 11 '07 #4
Plater
7,872 Recognized Expert Expert
thanx ...dip_developer...

it was great....

but is there any other way to encrypt and decrypt the passwords...
You don't decrypt md5, what you CAN do however is:
If you want to verify that the md5 hash of a password is correct, you create your OWN md5 hash of the password and see if it matches.

I believe it is fairly common practice to do it this way.
Jun 11 '07 #5
TRScheel
638 Recognized Expert Contributor
Hello friends ,
I am using C# in DotNet 2005.
i used md5 encoding to encrypt the password .....using the namespace System.Security.Cryptography..

how to decrypt this password?

Now dont use this information... illegitemately...

EDIT: Links to cracking sites are strictly prohibited, shame, shame!
Jun 11 '07 #6
TRScheel
638 Recognized Expert Contributor
Now dont use this information... illegitemately...

EDIT: Links to cracking sites are strictly prohibited, shame, shame!
I was talked to about this, and I will explain.

You need to understand that MD5 is NOT secure. It is not a method I would suggest using to protect any sort of sensitive information as it is very easily bruteforced.

There are a lot of ways to encrypt data, and almost all of them are more secure than MD5. Granted, security is only as good as the users, so keeping keys PRIVATE is important, for obvious reasons.

On the topic of decrypting the MD5 information, short of bruteforcing it or having the key, no, you cannot do it.

If you have the key, then you would just work backwards. If you are bruteforcing it, well... then you have to question if you should see what you are trying to get at.


Personally, I prefer the Rijndael system.

Read up about it here:

MSDN2 Information About Rijndael


I would scoure that cryptography namespace to find the security implementation that fits though. Perhaps your particular situation needs a private/public key set, or having just a private key works fine.

As far as I know, Rijndael cannot be bruteforced (in any reasonable amount of time) and short of knowing the key, anyone trying to get at your information will be waiting years (Whereas with MD5, it could be minutes to hours). Back to security though, the main flaw is... the... user...

Keep that in mind when you code for security / encryption.
Jun 11 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Benoît | last post by:
Hi, I have generated two keys : "C:>openssl req -nodes -new -x509 -keyout ben.key -out ben.crt -days 3650" I try to encrypt/decrypt a string like "JOHN" with these asymetrics keys. With the...
3
by: Jimski | last post by:
Hello all, I am having a problem where I get an error message when I call FlushFinalBlock when decrypting my encrypted text. I am using the Rijndael algorithm. The error message is "Length...
8
by: Gidi | last post by:
Hi, Is there Buid-In fuction in C# that Encrypt and Decrypt strings? i have a textbox which i'm writing into file, and i want to encrypt it before writing, i'm not looking for something fancy,...
7
by: Dica | last post by:
i've used the sample code from msdn to create an encyption/decryption assembly as found here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT10.asp i'm...
4
by: hohans | last post by:
Hi all, I have an encryption class that encrypts and decrypts password using TripleDESCryptoServiceProvider. It was written originally in framework 1.0 and been working fine. And those...
0
by: Hannibal111111 | last post by:
I found this code on a site for doing string encryption/decryption. The string will encrypt fine, but I get this error when I try to decrypt. Any idea why? I posted the code below. The error...
2
by: Bernard Dhooghe | last post by:
The information center writes: "Encryption Algorithm: The internal encryption algorithm used is RC2 block cipher with padding, the 128-bit secret key is derived from the password using a MD2...
1
by: MimiMi | last post by:
I'm trying to decrypt a byte array in java that was encrypted in C#. I don't get any error messages, just a result that's completely not what I was hoping for. I think I am using the same type of...
2
by: MimiMi | last post by:
I'm trying to decrypt a byte array in java that was encrypted in C#. I don't get any error messages, just a result that's completely not what I was hoping for. I think I am using the same type of...
0
by: FarooqRafiq | last post by:
Hi, My requirement is that a string is encrypted in VB.NET and sent to PHP, PHP decrypts the string (till here the logic is working) and then the PHP should encrtyp (where i am having problems)...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.