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

Fix for secrets where we have odd number of hex digits. For example Amazon.com totp secrets. #13

Closed gmihaly-lmi closed 3 years ago

gmihaly-lmi commented 3 years ago

Multiple totp generators work because they ignore the last odd hex digit. This should also be able to handle this.