From WikiChip
$hotp Identifier - mIRC
< mirc‎ | identifiers
Revision as of 13:31, 1 February 2018 by Ouims (talk | contribs) (See Also)

$hotp returns an HOTP (HMAC-based One-Time Password) based on the specified parameters.


Synopsis

$hotp(key, count, hash, digits)

Paramters

  • key - the key is required and can be in a base16 format of either 40, 64 or 128 chars; or in a base32 format of either 16, 24 or 32 chars; or plain text; or it can also be in a Google Authenticator format ie lowercase with spaces.
  • count - required, the count
  • hash - optional, hashing algorithm, default to sha1
  • digits - optional, number of digits, default to 6

Properties

None

Example

None

Compatibility

Added: mIRC v7.42
Added on: 17 Jul 2015
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

$totp $hmac