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
npm i hotp-totp
130
1.0.6
MIT
3.15 kB
4