By Ujjwal Jain
In this project we are making a secured system using C++, where an OTP is generated by the code and after writing the correct OTP user can use the system for one go after which OTP will change.
In this project, we are generating an one-time password for user, which can be used in two manners, either we can send a four-digit OTP to the user or we can print a random big number where the first four digits are the OTP to enter the server. If the OTP entered by the user is incorrect the user will get to choose whether they want to retry or not.
When the OTP entered is correct, the user enters the system where we can have multiple function calls and modules in accordance and suitability of the project.
In this demonstration, we have used the approach of printing random big number where the first four digits are the required OTP to enter the server.
Submitted by Ujjwal Jain (Ujjwaljain25)
Download packets of source code on Coders Packet