/totp-generator

A simple web-based TOTP (Time-based One-Time Password) generator, ideal for generating secure, time-based authentication codes for two-factor authentication (2FA) systems.

Primary LanguageJavaScriptMIT LicenseMIT

TOTP Generator

A simple web-based TOTP (Time-based One-Time Password) generator, ideal for generating secure, time-based authentication codes for two-factor authentication (2FA) systems.

Features

  • Generates TOTP codes based on a shared secret and current time.
  • Built with a minimal, user-friendly interface using HTML, CSS, and JavaScript.
  • No backend dependencies – runs entirely in the browser.

Installation and Usage

  1. Clone or Download the repository:

    git clone https://github.com/EnesKeremAYDIN/totp-generator.git
    cd totp-generator
  2. Run the Application:

    • Open index.html in a web browser to access the TOTP generator.

Files

  • index.html: The main HTML file providing the structure of the TOTP generator interface.
  • script.js: JavaScript code implementing TOTP generation based on the current time and a shared secret key.
  • styles.css: CSS file for styling the TOTP generator interface.

Requirements

  • A web browser with JavaScript enabled.

Disclaimer

This tool is intended for educational purposes or personal use.