1.0.6 • Published 5 years ago
hotp-totp v1.0.6
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
Generate One-Time passwords in JS using WebCrypto
await totp('SECRETSECRET')
await hotp('SECRETSECRET', 0 /* counter */) #=> 977742
$ npm install hotp-totp