command
module
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Aug 25, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.