c - C语言编程解密md5

标签 c encryption

我有一个密码,并使用在线 md5 转换器将其转换并将其存储在文件中。现在我需要原始字符串。有没有可能使用 c 程序将 md5 哈希值解密为原始值。 c程序中有什么函数吗?

最佳答案

这可能是不可能的。参见这里:http://en.wikipedia.org/wiki/MD5

The security of the MD5 hash function is severely compromised. A collision attack exists that can find collisions within seconds on a computer with a 2.6 GHz Pentium 4 processor (complexity of 224.1). Further, there is also a chosen-prefix collision attack that can produce a collision for two inputs with specified prefixes within hours, using off-the-shelf computing hardware (complexity 239). The ability to find collisions has been greatly aided by the use of off-the-shelf GPUs. On an NVIDIA GeForce 8400GS graphics processor, 16–18 million hashes per second can be computed. An NVIDIA GeForce 8800 Ultra can calculate more than 200 million hashes per second.

These hash and collision attacks have been demonstrated in the public in various situations, including colliding document files and digital certificates.

关于c - C语言编程解密md5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28017858/

相关文章:

java - 有人知道开源运营管理系统吗?

c - GCC C 警告 "duplicate ‘const’ 声明“

python - rijndael:在 C 和 Python 中加密/解密相同的数据

java - 具有特定填充的 RSA 最大消息长度

c - 分别使用nodejs和c做AES-128-cbc加密时,使用相同的key和IV但结果不同

c - 混合 SSE 整数/浮点 SIMD 指令时,我会受到性能损失吗

在 scilab 中从 xcos 生成 C/C++ 代码

actionscript-3 - AS3 密码解码器和编码器(更好的答案?)

c++ - 如何在 C++ 应用程序中使用 GnuPG(不是命令行工具)?

c# - 如果 web.config 中的连接字符串已加密,外部用户是否可以访问该站点?