v7.0.0
code
- Use
Date.now()
instead ofnew Date().getTime()
- In `totpSecret, use the encoding specified in the option
- Changed token generation to binary manipulation as reflected in RFC sample
- More fixes for issue #7
tests
- Added tests which reflects any previous issues opened.