{"repo":"ja7ad/otp","free":true,"listed":false,"github":"https://github.com/ja7ad/otp","clone":"git clone https://github.com/ja7ad/otp.git","description":"A high-performance, zero-dependency Go package for generating and validating TOTP, HOTP and OCRA one-time passwords — RFC 4226, RFC 6238 and RFC 6287 compliant.","language":"Go","stars":43,"topics":["2fa","authentication","go","golang","hotp","mfa","otp","rfc4226","rfc6238","security"],"license":"MIT","category":"security-tools","readme_excerpt":"🔐 OTP A high-performance, zero-dependency Go package for generating and validating TOTP, HOTP and OCRA one-time passwords — RFC 4226, RFC 6238 and RFC 6287 compliant. - Feature - Installation - Library - OTP-API - Docker - Comparison - Performance - Features - Proof algorithm - Usage - Contributing - Reference ✨ Features - Zero dependencies – fully self-contained, no external packages - High performance with low allocations - Supports HOTP (RFC 4226), TOTP (RFC 6238) and OCRA (RFC 6287) algorithms - Configurable OTP digit lengths: 6, 8, or 10 - Supports SHA1, SHA256, and SHA512 HMAC algorithms - Constant-time OTP validation to prevent timing attacks - Clock skew tolerance for TOTP validation - Generates otpauth:// URLs for Google Authenticator and compatible apps - Parses otpauth:// URLs into configuration structs - Secure random secret generation (base32 encoded) - Thoroughly tested against official RFC test vectors - Includes fuzz tests, benchmark coverage, and solid algorithm validation Here’s your updated README.md Installation section with release and Docker image info: 📦 Installation (Go = 1.24) 🛠️ Using Go Node.js bindings are available here. --- 🚀 Prebuilt Binary Download the latest CLI/API binary for your platform from the latest release page. Online demo: https://otp-api.leapcell.app/docs Method Path Description -------- -------------------- ---------------------------------- POST /totp/generate Generate a TOTP code POST /totp/validate Validate a TOTP code POST ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ja7ad","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ja7ad/otp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}