I have a requirement to reverse translate a SHA1 encrypted text to plain text.
I need the Java Code to it.
many forums say that it cant be done but i have found a link http://www.stringfunction.com/sha1-decrypter.html which does exactly the same. I have tested it. Now i need the algorithm to implement in Java.
Please help!!!
It’s plain impossible. SHA1, like all cryptographic digest algorithms, is not an encryption algorithm, but a hashing algorithm. It takes any text, as long as you want, and transforms it into a few bytes, in a way that is impossible to revert, by design. The whole point of a cryptographic hash is to be one-way, and thus impossible to revert. If it was possible, the algorithm would be useless.