otp

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyTOTP

func VerifyTOTP(secret string, code string, skew int) bool

VerifyTOTP verifies an RFC 6238 TOTP code with 30s step and given skew steps. secret can be base32 (no padding) as common authenticator apps export.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL