We were recently given a requirement to generate an obfuscated OTP value which gets generated by using a SHA1 hashing algorithm progmatically in Java code.
Upon googling we came across a free and opensource implementation which was tested and verified.
Follow following steps to generate hash...