custom algorithm for crypto.createHmac. Default: sha1
moving factor. Default: 0
unique secret key for user
6 digit code as a string
custom algorithm for crypto.createHmac. Default: sha1
moving factor. Default: 0
unique secret key for user
code, provided by user
counter values window. Default: 1
null if nothing found or number between -window to +window if same code in steps found
Generated using TypeDoc
HOTP(K,C) = Truncate(HMAC-SHA-1(K,C))
https://datatracker.ietf.org/doc/html/rfc4226#section-5.2