Skip to content

A two-factor authentication(2FA) based on HOTP & TOTP written in Go.

License

Notifications You must be signed in to change notification settings

jovijovi/two-fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-FA

A two-factor authentication(2FA) based on HOTP & TOTP written in Go.

Features

  • Based on HOTP/TOTP algorithm
  • Get code by encoded key
  • Encode/Decode key
  • Encode key for iOS
  • Encode key with hash
  • Gen random key
  • Print QR for Google Authenticator in terminal

Install

go get github.com/jovijovi/two-fa

Example Usage

Roadmap

  • Documents

License

This project is licensed under the BSD 3-Clause License.