Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i encrypt my password using MD5 algorithm in .net.

Now i decrypt my password using MD5?
this is my code for encryption


MD5 Encryption
***************

Public Shared Function Md5(ByVal strChange As String) As String
'Change the syllable into UTF8 code
Dim pass As Byte() = Encoding.UTF8.GetBytes(strChange)
Dim obj_md5 As New System.Security.Cryptography.MD5CryptoServiceProvider
Dim strPassword As String = BitConverter.ToString(obj_md5.ComputeHash(pass))
Return strPassword
End Function


now i need code for decryption this password?

can body help me out?????????
Posted
Comments
jsolutions_uk 26-Mar-13 14:47pm    
Why does it need to be decrypted?

1 solution

No. MD5 is not an encryption algorithm - it is a hashing algorithm. The difference is that encryption algorithms are reversible, hashing algorithms are not. That is why MD5 values are so much smaller than encrypted data...
 
Share this answer
 
Comments
Joan M 5-Jul-11 11:35am    
So true... 5...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900