JS-OTP icon indicating copy to clipboard operation
JS-OTP copied to clipboard

100% Javascript Implementation of HOTP and TOTP for Two-Factor Authentication.

Results 7 JS-OTP issues
Sort by recently updated
recently updated
newest added

Hello, Nice javascript. I receive an error when generating an hotp with a counter size > 127. hotp.getOtp(secret,128) will fail: my console shows the following output: URIError: malformed URI sequence...

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

totp key for epic like `IZIEIWKUIFMVCTKFI5LUQVKZGZDEQUCSG5DFMUSWJRLEQWCUINGQ` will throw error `String of HEX type must be in byte increments` so I fix it

Hi, I'm trying to generate totp for mega.nz account which have 52 character secret. Google authenticator giving totp fine. But this js not working. Can you look into it.

javascripts generated from coffeescript with release.sh

Hi, jsOTP.js Lack of credits and licence infos. I added this in the file I use, inspired from jsOTP.min.js: ```diff --- a/jsOTP.js +++ b/jsOTP.js @@ -1,3 +1,11 @@ +/* +*...

https://tools.ietf.org/html/rfc6238 Thanks.