OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

What is the best way to create OTP/TOTP? [closed]

  • Thread starter Thread starter Falcoln
  • Start date Start date
F

Falcoln

Guest
so i creating a backend for the site. So i shrugged off such a question: "What OTP/TOTP is the best?"

There are so many different to make OTP/TOTP:

  1. Random generator
  2. Take today's date and select some values
  3. Take some data from the current session
  4. Use the JWT Library and take some data from there There are more ways, but i cant remember.

I hope someone have good way to create otp or his company using it ;)
<p>so i creating a backend for the site. So i shrugged off such a question: "What OTP/TOTP is the best?"</p>
<p>There are so many different to make OTP/TOTP:</p>
<ol>
<li>Random generator</li>
<li>Take today's date and select some values</li>
<li>Take some data from the current session</li>
<li>Use the JWT Library and take some data from there
There are more ways, but i cant remember.</li>
</ol>
<p>I hope someone have good way to create otp or his company using it ;)</p>
 
Top