Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.06 KB

README.md

File metadata and controls

20 lines (14 loc) · 1.06 KB

OTPass

Module for HOTP (IETF RFC 4226) and TOTP (IETF RFC 6238) one time password codes without any dependencies for Node. Fully tested accordign to RFC specification, exposing full API of respective reference implementations.

Usage

OTPass is a library made for easy implementation of OTP functionality into your Node applications.

  • 📑 Implemented in accordance with RFC specifications
  • 🔑 Easily generate secrets and Google authentification URIs
  • 🔐 Generate HOTP and TOTP codes
  • ✔️ Validate codes, including custom time settings and sliding windows for range validation

What are we talking about here?

Time based one-time password (Wikipedia)

HMAC based one-time password (Wikipedia)