@charles-mutabazi/generate-totp

cli tool to generate TOTP tokens

Usage no npm install needed!

<script type="module">
  import charlesMutabaziGenerateTotp from 'https://cdn.skypack.dev/@charles-mutabazi/generate-totp';
</script>

README

TOPT Generator CLI Using NodeJS

A customizable implementation of Time-based OTP (TOTP).

If something doesn't work, please file an issue

Installation

  • yarn global add generate-totp

Sample Usage:

In your terminal run the following

  // to get help
  $ generate-totp --help
  
  //sample example
  $ generate-totp -k myrandomesharedprivatekey -a sha512 -d 10