A JavaScript library for generating and verifying one-time passwords (TOTP/HOTP), commonly used for two-factor authentication (2FA).

Features

  • Supports both TOTP and HOTP algorithms
  • Implements industry-standard RFC 4226 and RFC 6238
  • Provides encryption and secret management
  • Works in Node.js and browser environments
  • Customizable time steps, hash algorithms, and digit lengths
  • Easy integration with authentication systems

Project Samples

Project Activity

See All Activity >

Categories

Security

License

MIT License

Follow OTPLib

OTPLib Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OTPLib!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Security Software

Registered

2025-02-11