I am using Android Studio 1.22 and JRE 1.8 with 64 bit JVM. How to import Crypto,js to Android?
I want to calculate 6 digit OTP from HMAC output.
You can find implementation in java here :
https://github.com/romus/sha/blob/master/sha3/src/com/theromus/example/Main.java
Have you checked this from Google code : Google Authenticator
You can find step-by-step JAVA sample code in there.
Cheers.