‎2013 Sep 24 10:48 AM
Hello Everyone,
I need a function module or any code for converting from hashcode to string. I Googled a lot but could not find the solution.
Example:
B35640911EBA4565 is my hash code. After converting I should get "qwer123!" as output string. So how can I convert? And the hash key is of type RAW(8).
Regards
Satish D R
‎2013 Sep 24 12:15 PM
Not possible. Hash is a one way function.
Imagine, a 1gb file can have RAW8 hash. If reversing was possible, it would be world's best compression algorithm.
‎2013 Sep 24 12:33 PM
As per definition, the result of a cryptographic hash function is/should be irreversible, i.e. one cannot/shouldn't be able to retrieve the plain text password from the hash value.
Check this article to see more on the hash algorithms in SAP.
http://www.daniel-berlin.de/security/sap-sec/password-hash-algorithms/