Changing the algorithm when generating totp

In previous post, I showed with example how to generate an TOTP. I also mentioned in my previous post, how the framework by default using SHA-1 algorithm to generate the totp. In this post under OTP, I will show with example how to change the default algorithm. Below is the code for your reference. 1…… Continue reading Changing the algorithm when generating totp