Skip to content

AckeeCZ/OTPass

Folders and files

NameName
Last commit message
Last commit date
Nov 4, 2024
Jan 25, 2023
Jan 20, 2023
Apr 8, 2022
Apr 8, 2022
Nov 4, 2024
Nov 7, 2022
Jun 24, 2022
Nov 4, 2024
Nov 4, 2024
Jun 23, 2022
Nov 4, 2024
Nov 4, 2024
Apr 8, 2022
Nov 4, 2024

Repository files navigation

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)