Versions in this module Expand all Collapse all v1 v1.0.0 Oct 7, 2017 Changes in this version + func GenerateOTPSecret(s int) (string, error) + func HOTP(secret string, count int64, h func() hash.Hash, digits int) (otp string, err error) + func TOTPAt(secret string, t time.Time, h func() hash.Hash, digits int) (otp string, timeRemaining int, err error) + func TOTPHistory(secret string, h func() hash.Hash, digits int, history int) (otps []string, timeRemaining int, err error) + func TOTPNow(secret string, h func() hash.Hash, digits int) (otp string, timeRemaining int, err error)