Commit Graph

3 Commits

Author SHA1 Message Date
Lucas 95341d4ca2 Fix test cases for TOTP
RFC 6238 isn't clear enough in the Test Vectors section, and the
different HMAC algorithms use different secrets.
2020-06-14 17:58:01 +00:00
Lucas 41ca24d151 Add TOTP support
Add all the test vectors from RFC 6238, but comment the non-SHA1 ones
for the time being.
2020-06-14 17:31:33 +00:00
Lucas 84587a4c32 Add test cases for HOTP 2020-06-14 04:21:11 +00:00