Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 26 April 2025

One Time Password (OTP) Solution for Two Factor Authentication: A Practical Case Study

Oscar Efrén Acosta Mayorga1 & Sang Guun Yoo2

Journal of Computer Science, Volume 21, Issue 5, pp. 1099–1112 · doi.org/10.3844/jcssp.2025.1099.1112

8,452 accesses3,381 downloads1 citations (Crossref)Metrics
Cite Check for updates

Abstract

Currently, static passwords are no longer secure, they expose accounts and data, more advanced and sophisticated approaches are required to guarantee user authentication and operations in digital systems. In this context, this study investigates how in a practical application, addressing security challenges in user authentication using One Time Passwords (OTP) can strengthen two-Factor Authentication (2FA), the use of a sec factor for authentication has gained popularity and using an OTP adds an extra layer of protection, strengthening security beyond the traditional password. Furthermore, it is important to highlight that currently transactions between existing systems are largely carried out through smartphones with specific applications due to convenience and widespread presence in modern life. The objective of this study focuses on generating an OTP solution for two-factor authentication in a practical case based on an applied research methodology. The application of this methodology results in an effective system, improving two-factor authentication by providing security for user access with static passwords, even if someone gains access to the user’s password, they still need the OTP code to access. This article presents an authentication system for 2FA that includes generation and delivery of the access code based on events (HOTP) or time (TOTP) and uses mobile and email applications for OTP code delivery. The entire authentication process from enabling 2FA on the user account to verifying and validating is comprehensively covered.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Mayorga, O. E. A. & Yoo, S. G. (2025). One Time Password (OTP) Solution for Two Factor Authentication: A Practical Case Study. Journal of Computer Science, 21(5), 1099–1112. https://doi.org/10.3844/jcssp.2025.1099.1112

Licence
CC BY 4.0
Issue
Volume 21, Issue 5
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
One Time Password (OTP) Solution for Two Factor Authentication: A Practical Case StudyJournal of Computer Science · Volume 21, Issue 5 · pp. 1099–1112 · CC BY 4.0Download