HOTP$at(counter)
Generate an one time password at counter value.
HOTP$verify(code, counter, ahead = 0L)
Verify if a given one time password is valid. Returns the matching counter
value if there
is a match within the ahead
window. Otherwise return NULL
.
code a string of digits.
counter a non-negative integer.
ahead a non-negative integer, the amount of counter ticks to look ahead.
HOTP$provisioning_uri(name, issuer = NULL, counter = 0L)
Return a provisioning uri which is compatible with google authenticator format.