Versions in this module Expand all Collapse all v0 v0.0.2 Mar 17, 2022 v0.0.1 Nov 8, 2021 Changes in this version + func Oath(secret string) (string, error) + func OathOtp(secret string, b32 bool, digits int, nowSec, step, window int64) (ret []string, err error) + func Oaths(secret string, window int) (ret []string, err error) + func Validate(secret, otp string, window int) (v bool, err error) + func ValidateOtp(secret, otp string, b32 bool, digits int, nowSec, step, window int64) (bool, int64, error)