Skip to content
/ twofa Public

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

License

Notifications You must be signed in to change notification settings

lascape/twofa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages