Vocabulary
totp

Inputs
keyan object


Outputs
stringa string


Word description
Generate a one-time password for the key based on the current system time. If key is a string, it is expected to contain the key data in Base 32 encoding, otherwise it should be a byte-array. The string length is totp-digits, and the hash used for HMAC is totp-hash.

See also
totp*

Definition