Lugnut is still experimental and under construction.
Lugnut is a one-time password generator that supports specification compliant HOTP and TOTP generation and verification.
[]
= "0.1.0
use Hotp;
let key = String from;
let counter = 100;
let mut hotp = new;
let code = hotp.generate.expect;
let verified = hotp.verify.expect;
assert!;
use Totp;
let key = String from;
let mut totp = new;
let code = totp.generate.expect;
let verified = totp.verify.expect;
assert!;