Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OTP ¶
type OTP struct {
Opts
}
func NewDefaultOTP ¶
DefaultOTP returns 6-digits HMAC-SHA-1 OTP based on given secret and counter
type TOTP ¶
func NewDefaultTOTP ¶
DefaultOTP returns 6-digits HMAC-SHA-1 OTP based on given secret and counter
Click to show internal directories.
Click to hide internal directories.