at method

String at (int count)

Generate the OTP with the given count

@param {count} @type {int} @desc the OTP HMAC counter

@return {String}

@example HOTP hotp = dotp.HOTP('BASE32_ENCODED_SECRET'); hotp.at(0); // => 432143

Implementation

String at(int count) {
  return super.generateOTP(count);
}