Personal Notes File


Calculate TOTP... Command

Purpose

The Calculate TOTP... command is used to calculate a Google Authenticator compatible Time-based One-time Password (TOTP) using the currently selected text as the secret key.

To calculate a time-based one-time password

  1. Place the cursor at a base32 string, which corresponds to the secret key of your service provider, or select the entire string. Typically this will be a string of 16, 26, 32, or 64 characters.
  2. From the Edit menu, choose Calculate TOTP....
  3. The 6-digit time-based one-time password (TOTP) will be calculated and displayed.

Notes:

  • If you do not select any string, an automatic selection not including spaces and end-of-line characters will be made.
  • This command does not check whether the selected text is a valid base32 string, but it will ignore any invalid characters. The maximum number of characters used for TOTP calculation is 64.
  • The calculated TOTP will be displayed in a simple dialog and if you click OK, it will also be copied to the Clipboard.
  • The calculated TOTP is valid only for a 30-second time slot. The remaining time in seconds as of the time the dialog box initially popped out is also displayed. If you think that it will be too late for you to use the calculated TOTP, you may want to repeat this command for an updated TOTP.
  • If your system time is not correct, the TOTP created by this command will also be incorrect. To check your system time see the Check Time... command.

Keyboard shortcut

Ctrl+T