MD5校验和到原始字符串的转换

编程入门 行业动态 更新时间:2024-10-28 18:27:27
本文介绍了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系列的哈希函数之一. 参见: en.wikipedia/wiki/MD5#Security [ ^ ], en.wikipedia/wiki/SHA-2 [ ^ ].
—SA
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: en.wikipedia/wiki/MD5#Security[^], en.wikipedia/wiki/SHA-2[^].
—SA

更多推荐

MD5校验和到原始字符串的转换

本文发布于:2023-10-22 22:49:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1518958.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字符串   原始

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!