Versions in this module Expand all Collapse all v1 v1.0.1 Jan 28, 2022 v1.0.0 Jan 28, 2022 Changes in this version + type HOTPKey struct + Counter uint64 + Digits byte + HashFunction HashFunction + SecretKey string + func (k *HOTPKey) OTP() string + func (k *HOTPKey) Validate() bool + type HashFunction string + const MaxDigits + const MinKeySize + const SHA1 + const SHA256 + const SHA512 + type TOTPKey struct + Digits byte + HashFunction HashFunction + SecretKey string + T0 uint64 + TimeStep uint64 + func (k *TOTPKey) OTP() string + func (k *TOTPKey) Validate() bool