Generate HOTP

The counter-based one-time password of RFC 4226, from a shared secret.

  • ID: generate-hotp
  • Category: Other
  • Aliases: hotp, counter otp, rfc 4226

Arguments

ArgumentTypeDefaultConstraints
Secret encodingoption"Base32"Base32, Hex, UTF-8, Raw bytes
Counternumber0Minimum: 0
Digitsnumber6Minimum: 4. Maximum: 10
Hashoption"SHA-1"SHA-1, SHA-256, SHA-512