1.0.11 • Published 2 years ago

@anzerr/totp.util v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Intro

GitHub Actions status | linter GitHub Actions status | publish GitHub Actions status | test

Totp util base on rfc6238 for two step authentication

Install

npm install --save git+https://git@github.com/anzerr/totp.util.git
npm install --save @anzerr/totp.util

Example

Both examples works with google authentication. Online example or a console version can be found in test/example.js

const {Totp} = require('totp.util');

let t = new Totp('12345678901234567890');
console.log(t.get());

let gen = Totp.generate();
console.log(gen.key.toString(), gen.get());
1.0.11

2 years ago

1.0.10

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago