SHA1
The HOTP counter
Note: This should be incremented upon each use to prevent replay attacks. user must also increment.
Note: This value is overwritten when TOTP is used.
0
The number of digits to use for the OTP
6
Displays as the "issuer" in most Authenticator applications
<empty>
Displays as the account label in most Authenticator applications
'Change Me'
60
The Secret seed for the generation/validation of the OTP
<random>
Optional
timestampDate.now()
The window of permitted OTP codes when verifying. A value of 1
would allow an OTP that is valid for the current
counter/period +/- 1. A value of 2
would allow +/- 2.
1
The algorithm to use for digest generation.
Note: Most authenticator applications have limited support for anything other than SHA1