Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ackeecz/otpass


https://github.com/ackeecz/otpass

backend nodejs

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        



# OTPass

Module for **HOTP** ([IETF RFC 4226](https://www.rfc-editor.org/rfc/rfc4226)) and **TOTP** ([IETF RFC 6238](https://www.rfc-editor.org/rfc/rfc6238)) 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)](https://en.wikipedia.org/wiki/Time-based_one-time_password)

[HMAC based one-time password (Wikipedia)](https://en.wikipedia.org/wiki/HMAC-based_one-time_password)