Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong result when result begin with digit 0 #4

Open
muyinliu opened this issue Feb 12, 2018 · 1 comment
Open

wrong result when result begin with digit 0 #4

muyinliu opened this issue Feb 12, 2018 · 1 comment

Comments

@muyinliu
Copy link

muyinliu commented Feb 12, 2018

For example:

(totp:totp "ae0769adab884cba8f80c54c6d265b46c2cdfcee" 0 3727393050)

=>

7703

Note: correct result should be 007703(6 digits).

@muyinliu
Copy link
Author

muyinliu commented Feb 12, 2018

fix by #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant