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
Categories
SecurityLicense
MIT LicenseFollow OTPLib
Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services
Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of OTPLib!