Versions in this module Expand all Collapse all v1 v1.0.0 Jun 1, 2021 Changes in this version + type HOTP struct + Counter int64 + func (hotp HOTP) Generate() (string, error) + type OTP struct + Digits int + Label string + Secret string + type OTPAlgorithm int + const SHA1 + const SHA256 + const SHA512 + type TOTP struct + Algorithm OTPAlgorithm + CurrentUnixTime int64 + Issuer string + Period int + func (totp TOTP) Generate() (string, error)