1.0.6 • Published 6 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 */) #=> 977742Installation
$ npm install hotp-totpGenerate One-Time passwords in JS using WebCrypto
await totp('SECRETSECRET')await hotp('SECRETSECRET', 0 /* counter */) #=> 977742 $ npm install hotp-totp