How Is O.T.P Generated?

The most common way for the
generation of OTP is the Time
Based One Time Passwords (OTP)
In these OTP systems, time is the
Main factor to generate the
unique password.The password generated is created using the current time and a secret key.
Backend server generates the secret key
The server shares secret key with the
service generating the OTP
After this step It looks Like
"0215a Td8el5b
2 2|16-82b643
4felbela 1f6ba"
A hash based message authentication
code (HMAC) is generated using the
SHA-1 algorithm.
A 20 bytes long code truncated to required size.
The lastcharacter is taken and an OFFSET is determined At This step otp is- 288083
The counter is started and otp is sent...
By-Vikash Bharal
Thank You




Post a Comment

1 Comments

  1. Thankyou for this information, As it's very helpful for me

    ReplyDelete

If you have any doubts.Please Let me know