Generates and verifies Time-based and HMAC-based One-Time Passwords (TOTP/HOTP) for multi-factor authentication.
OTP AI by MEOK AI Labs is a Python utility designed to simplify the generation and verification of TOTP/HOTP codes. It provides core functionalities for managing secure authentication, including generating new secrets, creating time-sensitive one-time passwords, verifying user-provided codes against a secret, and producing `otpauth://` URIs for easy QR code enrollment in authenticator apps. This tool is ideal for developers looking to integrate robust two-factor authentication into their applications.
主な機能
01Generate otpauth:// URIs for QR code-based enrollment
02Verify TOTP codes against a secret key
03Generate time-based one-time passwords (TOTP) from a secret
040 GitHub stars
05Generate new TOTP secrets for various issuers
ユースケース
01Implementing two-factor authentication (2FA) in web or desktop applications
02Testing and validating TOTP/HOTP code generation and verification logic