MD5校验和到原始字符串的转换 [英] MD5 checksum to original string conversion

查看:210
本文介绍了MD5校验和到原始字符串的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
我有一个琴弦.现在,我已将其转换为MD5哈希校验和值.
现在我想从哈希值中解码相同的字符串.
请告诉我怎么做.
注意:我正在使用Crypto ++库.
谢谢大家.

Dear All,
I''ve a String. Now i''ve converted to MD5 hash checksum value.
Now i want to decode the same string from the hash value.
Please tell me how to do thi.
Note : I''m using Crypto++ library.
Thank you all.

推荐答案

您不能将哈希转换为原始字符串.
You can''t convert a hash to the original string.


警告:如果出于任何安全目的使用MD5,请停止这样做-这是不安全的.该算法被认为是无效的.更好地使用SHA系列的哈希函数之一.

参见:
http://en.wikipedia.org/wiki/MD5#Security [ http://en.wikipedia.org/wiki/SHA-2 [
Warning: If you use MD5 for any security purposes, stop doing it — it is unsafe. This algorithm is considered broken. Better use one of the hash functions from the SHA family.

See:
http://en.wikipedia.org/wiki/MD5#Security[^],
http://en.wikipedia.org/wiki/SHA-2[^].

—SA


这篇关于MD5校验和到原始字符串的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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