如何解密mysql查询中的md5数据?
可能的重复:
是否可以解密 md5 哈希值?
我有一个表,它是里面有md5加密的数据。我必须以解密的形式将该数据复制到另一个表中。我怎样才能在mysql查询中做到这一点?
Possible Duplicate:
Is it possible to decrypt md5 hashes?
I have a table which is having md5 encrypted data in it. I have to copy that data in another table but in decrypted form. How can i do that in mysql query??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
您无法解密 md5 散列字符串,因为它是一种单向算法。但可以使用 mysql 进行反向查找来转换它们。您可以参考网上各种解密来找到最佳的解决方案。
You cannot decrypt an md5 hashed string, since it is a one way algorithm. But they can be converted using reverse lookup using mysql. You can refer various online decrypts to find a best solution.
MD5 不是可逆加密算法。这是一个单向哈希。哈希的目的是允许您验证(具有一定程度的不确定性)某人是否拥有与创建哈希相同的原始信息。它不允许允许您从散列返回原始信息。
MD5 is not a reversible encryption algorithm. It's a one-way hash. The aim of a hash is to allow you to verify (with some degree of uncertainty) whether someone had the same original information as was used to create the hash. It does not allow you to get back from the hash to the original information.
正如其他人在这里所说,MD5 是不可逆。话虽如此,有些数据库包含某种字典,允许对 MD5 哈希值进行反向查找。
查看:http://tools.benramsey.com/md5/
更多信息此处。
MD5, as others have said here, is not reversible. Having said that, there are databases that contain sort of dictionaries to allow reverse lookup on MD5 hashes.
Check it out: http://tools.benramsey.com/md5/
More info here.
NO,md5数据无法解密。
NO, md5 data can not be decrypted.
不可以,
MD5 是一种 HASH 算法,因此无法解密。为了测试某个值是否正确,您可以将 MD5(值)与存储的 MD5 进行比较,但不可能从 MD5 中提取原始值。
No,
MD5 is a HASH algorithm so, it is not possible to decrypt. To test if some value is correct, you compare the MD5(value) to stored MD5, but it is impossible to extract the original value from MD5.
如果您从 MySQL 解密数据,那么加密它有什么意义呢?
您只能将 MD5 密码与未加密的数据进行比较。
你当然可以破解MD5,阅读http://alan.blog-city.com/cracking_mysqls_md5_function__within_seconds.htm
但你有点错过了加密密码的全部意义:/
If you decrypt the data from MysQL what would be the point of crypting it?
You can only compare to a MD5 password with uncrypted data.
You can ofcourse crack the MD5, read http://alan.blog-city.com/cracking_mysqls_md5_function__within_seconds.htm
But you kinda missed the whole point of encrypting your password :/