This repository was archived by the owner on Jun 19, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork3
One Time Password generation via RFC 6238
License
NotificationsYou must be signed in to change notification settings
paulmillr/micro-otp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Warning
The repository has been merged intomicro-key-producer. Please head to the new repo for updates.
npm install micro-key-producer
One Time Password generation viaRFC 6238.
import*asotpfrom'micro-otp';otp.hotp(otp.parse('ZYTYYE5FOAGW5ML7LRWUL4WTZLNJAMZS'),0n);// 549419otp.totp(otp.parse('ZYTYYE5FOAGW5ML7LRWUL4WTZLNJAMZS'),0);// 549419
MIT (c) Paul Miller(https://paulmillr.com), see LICENSE file.
About
One Time Password generation via RFC 6238
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published