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
You Might Also Like
Enterprise-Grade Monitoring - Zero Compromises
Managing a large, distributed IT environment demands more than basic monitoring. PRTG provides a unified view of your entire infrastructure - across sites, clouds, and hybrid setups. Advanced analytics, customizable dashboards, and granular access controls empower your team to detect issues early and respond fast. Automate reporting, ensure compliance, and scale effortlessly as your network grows. With PRTG, you get reliability, flexibility, and the insights you need to keep your business running at peak performance.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of OTPLib!