~samwhited/otp

f8943f74ae1af29304c9f9653b9d1e824298e4b3 — Sam Whited 11 months ago 8f51813
Fix typo in docs
1 files changed, 1 insertions(+), 1 deletions(-)

M otp.go
M otp.go => otp.go +1 -1
@@ 75,7 75,7 @@ func TOTP(step time.Duration, t func() time.Time) CounterFunc {
	}
}

// NewOTP returns a function that generates hmac-based one-time.
// NewOTP returns a function that generates hmac-based one-time passwords.
// Each time the returned function is called it calls c and appends the one-time
// password to dst. It also returns a 31-bit representation of the value.
// The key is the shared secret, l is the length of the output number (if l is