我需要使用md5算法解密我的加密密码,有人可以帮助我吗? [英] i need to decrypt my encrypted password using md5 algorithm, can any one help me?

查看:95
本文介绍了我需要使用md5算法解密我的加密密码,有人可以帮助我吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在.net中使用MD5算法对密码进行了加密.

现在我使用MD5解密密码了吗?
这是我的加密代码


MD5加密
***************

公共共享函数Md5(ByVal strChange作为字符串)作为字符串
''将音节更改为UTF8代码
暗淡传递为Byte()= Encoding.UTF8.GetBytes(strChange)
昏暗的obj_md5作为新的System.Security.Cryptography.MD5CryptoServiceProvider
昏暗的strPassword作为字符串= BitConverter.ToString(obj_md5.ComputeHash(pass))
返回strPassword
最终功能


现在我需要用于解密该密码的代码吗?

身体可以帮我吗??????????


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?????????

推荐答案

否. MD5不是加密算法-它是哈希算法.区别在于加密算法是可逆的,哈希算法则不是.这就是为什么MD5值比加密数据小得多的原因...
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...


这篇关于我需要使用md5算法解密我的加密密码,有人可以帮助我吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆