command
module
Version:
v0.0.0-...-83ebf3d
Opens a new window with list of versions in this module.
Published: Mar 15, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Simple implementation of TOTP for 2FA in Go
This implementation uses SHA-1 as hash algorithm.
Build
go build -o totp main.go
Usage
./totp --secret-key some-secret-key
The secret key must be encoded in base32.
Credits
Based on this blog https://drewdevault.com/2022/10/18/TOTP-is-easy.html.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.