3 ms·
There is no reversing of an md5 hash. You can try to cause a hash collision, or brute force compute it, but you can't turn something like 40 bytes of data into
by Topgamer7 6y ago
There is no reversing of an md5 hash. You can try to cause a hash collision, or brute force compute it, but you can't turn something like 40 bytes of data into 100 for example.
- gowld 6y agoRainbow table: https://en.wikipedia.org/wiki/Rainbow_table https://en.wikipedia.org/wiki/Rainbow_table
- pc86 6y agoThis still isn't reversing a hash.
- chpmrc 6y agoA one way function cannot be reversed by definition. I obviously meant finding a set of possible strings that produce that hash and one of them will likely be the image name. "Reverse" wasn't the perfectly accuarate word to use but sometimes a bit of intuition goes a long way.
- vivekseth 6y agoHashes are inherently lossy. Although a rainbow table can maybe tell you one possible input for a given hash, it cannot tell you exactly what was hashed.
- maerF0x0 6y agobut in the case of hashes -> URL there is a fairly reasonable rule set of what constitutes a plausible reversal. Therefore generated collisions could be reality checked, unlike other things (like a md5 of an encrypted file)
- kristopolous 6y agoThe sounds like a great research topic
- chpmrc 6y agoObviously I don't mean implementing a function that does f(md5(str)) => str in O(1) but rather performing a dictionary or brute force attack.