hotp-totp

1.0.6 • Public • Published

hotp-totp

Generate One-Time passwords in JS using WebCrypto

Usage

await totp('SECRETSECRET')
await hotp('SECRETSECRET', 0 /* counter */) #=> 977742

Installation

  $ npm install hotp-totp

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    216
    • latest

Version History

Package Sidebar

Install

npm i hotp-totp

Weekly Downloads

216

Version

1.0.6

License

MIT

Unpacked Size

3.15 kB

Total Files

4

Last publish

Collaborators

  • dpikalov