Documentation ¶
Index ¶
- func CreateSetupURI(key []byte, issuer, accountName string, digits int, periodSecond int) string
- func DynamicTruncate(hmacResult []byte) int64
- func DynamicTruncateExplaination(hmacResult []byte) int64
- func GenerateHMAC(key []byte, message []byte) []byte
- func HOTP(key []byte, counter []byte, digit int) string
- func TOTP(key []byte, timestamp time.Time, periodSecond int64, digit int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSetupURI ¶
func DynamicTruncate ¶
func GenerateHMAC ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.