jiangts / JS-OTP

100% Javascript Implementation of HOTP and TOTP for Two-Factor Authentication.
https://jiangts.github.io/JS-OTP
MIT License
256 stars 70 forks source link

Update jsOTP.js #5

Open chudel opened 6 years ago

chudel commented 6 years ago

Fixes issue with counter values > 127. Changed to HEX format and simply used the counter in an 8-byte padded hex format.