@ackee/otpass
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @ackee/otpass

Weekly Downloads

47

Version

0.2.3

License

MIT

Unpacked Size

25 kB

Total Files

15

Last publish

Collaborators

  • pivl
  • hofp37
  • grissius
  • ackeecz
  • horaklukas
  • borecekbaji
  • davidbilik