International Scientific Journal of Engineering and Management

An International Scholarly || Multidisciplinary || Open Access || Indexing in all major Database & Metadata
The journal follows the UGC Guidelines and is evaluated for inclusion in the Web of Science
ISSN: 2583-6129

Impact Factor: 7.839

OTP Verification System Using Python

  • Version
  • Download 11
  • File Size 688.72 KB
  • File Count 1
  • Create Date 12 August 2025
  • Last Updated 12 August 2025

OTP Verification System Using Python

 

 

M.NAGA KEERTHI, RAIDU SAI SIRISHA

Assistant Professor, Department Of MCA, MCA Final Semester,

Master of Computer Applications,

Sanketika Vidya Parishad Engineering College, Vishakhapatnam, Andhra Pradesh, India

 

 

Abstract:

This OTP verification system provides a straightforward method for authenticating users through email-based verification. It begins by prompting the user to enter their email address, then generates a random six-digit one-time password (OTP). The OTP is "sent" to the user’s email, simulated by a print statement in this implementation. The user is then asked to enter the OTP they received. To enhance security, the system allows a maximum of three attempts to input the correct OTP. If the user enters the correct OTP within these attempts, access is granted, confirming successful verification. If the user fails after three tries, access is denied to prevent unauthorized entry. The system also includes input validation to handle non-numeric or invalid OTP entries gracefully. By combining randomness, limited attempts, and email-based delivery, the system ensures that only legitimate users can complete the verification process. While this example simplifies email sending, the structure can be extended to real-world email services. Overall, this implementation serves as a basic, yet effective, framework for OTP-based user authentication. It highlights essential security practices, including verification, limited retries, and user feedback during the process.

Index Terms: OTP, Authentication, Python, Security, Email Verification, Random Number Generation, User Validation


Download

Author's Blog

What is the difference between a Research Paper and a Review Paper?

A research paper and a review paper are both scholarly documents, but they serve different purposes and have different characteristics....
Read More
Author's Blog

What is DOI?

A Digital Object Identifier (DOI) is a unique alphanumeric string that is used to identify and provide a persistent link...
Read More
Author's Blog

What do you need to do during production of your Research Paper?

During the production of a research paper, the following steps need to be taken: conducting research, organizing and analyzing data,...
Read More
Author's Blog

What are the advantages of publishing a research paper?

Publishing a research paper can have many advantages for researchers, including: Career advancement, professional recognition, opportunities for collaboration, increased visibility,...
Read More
Author's Blog

Ways to Support your Academic Wellbeing which preparing the Research Paper/Article

To support your academic wellbeing while publishing a research paper, it's important to set realistic goals, manage your time effectively,...
Read More
Author's Blog

How to improve your Research Paper writing Skills?

Read extensively: One of the best ways to improve your research paper skills is to read extensively in your field...
Read More
Author's Blog

Is DOI compulsory to publish a research paper in a Journal?

DOI is not strictly required to publish a research paper, but it is highly recommended. Basically, the International Scientific Journal...
Read More
Author's Blog

In what ways does research paper give weight to career development?

Publishing a research paper can give weight to a researcher's career development in several ways, such as: establishing oneself as...
Read More
Author's Blog

How to develop a Research Paper from Scratch

Developing a research paper involves several steps including: choosing a topic, conducting background research, formulating a research question or hypothesis,...
Read More
Author's Blog

How Plagiarism report plays crucial role in Research Paper Publication?

Plagiarism is a major concern in the academic and research community, as it undermines the integrity of the research and...
Read More