How to calaculate HMAC-SHA3 in Android using Crypto.js?

828 views Asked by At

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.

2

There are 2 answers

1
Tu-Jen Liang On

Have you checked this from Google code : Google Authenticator

You can find step-by-step JAVA sample code in there.

Cheers.

0
pratik deshai On