Registry / auth / xlzd-gotp

xlzd-gotp

JSON →
library0.1.0gogounverified

A Go library for generating and validating one-time passwords (OTP) using HOTP and TOTP algorithms.

go get github.com/xlzd/gotp
INSTALL
IMPORT
SIG · XLZD-GOTP
X
xlzd-gotp
authgov0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gotp
github.com/xlzd/gotp

Generate a TOTP code from a secret.

package main import ( "fmt" "github.com/xlzd/gotp" ) func main() { totp := gotp.NewDefaultTOTP("JBSWY3DPEHPK3PXP") fmt.Println(totp.Now()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
34
Resources
xlzd-gotp — go get xlzd-gotp · libregistry