/two-fa

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

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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.