c语言解密md5

Decrypt md5 in c programming

我有一个密码并使用在线 md5 转换器将其转换并存储在 file.Now 我需要原始字符串。是否有任何可能的方法使用 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.