1.0.3 • Published 4 years ago
otpgen v1.0.3
OTPGen
Generate a random number of specified length, very much suitable for OTPs.
#Usage
var OTPGen = require('otpgen');
OTPGen.getOTP(5, function(otp) {
console.log(JSON.stringify(otp));
});
Generate a random number of specified length, very much suitable for OTPs.
#Usage
var OTPGen = require('otpgen');
OTPGen.getOTP(5, function(otp) {
console.log(JSON.stringify(otp));
});