mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 08:55:14 +00:00
Update totp.js
This commit is contained in:
parent
81592beb64
commit
f00e6eed1e
|
@ -49,3 +49,10 @@ exports.VERSIONINFO = "TOTP library (totp.js) version 0.1.5";
|
|||
exports.AUTHOR = "abuse@catswords.net";
|
||||
exports.global = global;
|
||||
exports.require = global.require;
|
||||
|
||||
/*
|
||||
// Example:
|
||||
var TOTP = require("lib/totp");
|
||||
console.log(TOTP.getPubKey()); // get public key. e.g. 6Y4R 3AQN 4TTV CEQT
|
||||
console.log(TOTP.getOtp('6Y4R 3AQN 4TTV CEQT')); // get OTP code. e.g. 317884
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user