0

I have a problem with TOTP authentification.

My server (java) generates a secret key and transmits it to my android and ios applications. At the time of authentication, my mobile application runs the TOTP algorithm, taking the secret key as parameter and sending the result to the server. The server also takes this secret key and executes the TOTP algorithm and checks if the result is identical. My current problem is that the java-side algorithm returns a different result from the iOS-rated algorithm (objective-c). Do you have an algorithm running on both sides or a solution to be able to have an identical result please?

Steve Vinoski
  • 19,847
  • 3
  • 31
  • 46
Tuncay mzd
  • 13
  • 6

0 Answers0