我有一个密码,并使用在线 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/