Skip to content

msedgren/totp-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

totp-tool

A command line utility for performing useful operations related to understanding TOTP.

As things stand, this is limited to calculating the TOTP value for a Base32 encoded secret. The secret must be provided via the command line. The result is the 8 digit current TOTP code.

Assumptions:

  • The desired length of the TOTP code is 8 digits.
  • The secret is assumed to be a Base32 encoded hex string.
  • SHA-1 is used for calculating the hash.

About

utility for perfoming operations for TOTP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages