twofa

command module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

README

towfa

Generate a generic library of 2FA tokens compatible with Google Authenticator

go get -u github.com/golandscape/twofa
$twofa "you secret"
result:{Secret:WRQLGCZHKY6HMEL4 Expire:27 Code:409056}

How to introduce in your project

package main

import "github.com/golandscape/twofa/generate"

func main() {
	generate.Generate("you secret")
}

Relevant RFCs:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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