Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ackeecz/otpass
https://github.com/ackeecz/otpass
backend nodejs
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ackeecz/otpass
- Owner: AckeeCZ
- License: mit
- Created: 2022-10-13T13:45:29.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T11:47:41.000Z (almost 2 years ago)
- Last Synced: 2024-04-25T15:02:34.414Z (9 months ago)
- Topics: backend, nodejs
- Language: TypeScript
- Homepage:
- Size: 163 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)