Out-of-box HOTP and TOTP client to generate one-time password.
HOTP
use HotpBuilder;
let mut hotp_client = new
.base32_secret
.build
.expect;
assert_eq!;
hotp_client.increment_counter;
assert_eq!;
TOTP
use TotpBuilder;
let mut totp_cleint = new
.base32_secret
.build
.expect;
let totp_code = totp_cleint.generate;