Function
totp
(key []byte, t time.Time, digits int)
Source from the content-addressed store, hash-verified
| 341 | } |
| 342 | |
| 343 | func totp(key []byte, t time.Time, digits int) int { |
| 344 | return hotp(key, uint64(t.UnixNano())/30e9, digits) |
| 345 | } |
Tested by
no test coverage detected