HOTP constructor

HOTP(String secret, [ int digits = 6 ])

@param {secret} @type {String} @desc random base32-encoded key to generate OTP.

@param {digits} @type {int} @desc the length of the one-time password. This defaults to 6.

@return {HOTP}

Implementation

HOTP(String secret, [int digits = 6]) : super(secret, digits);