package main
import (
"fmt"
"github.com/kbukum/hotp"
)
func main() {
totp := hotp.TOTP{
OTP: hotp.OTP{
SharedSecret: "Secret Key",
Digits: 8,
Crypto:hotp.SHA1,
},
StartTime: 0,
TimeStep: 30,
}
fmt.Println(totp.Password())
}