aboutsummaryrefslogtreecommitdiff
path: root/src/passwordmaker/base_conversion/remainders_impl.rs
Commit message (Collapse)AuthorAgeFilesLines
* Improve long division performance.Andreas Grois2022-10-241-1/+1
| | | | | | In PasswordMaker, the numbers that are fed into long division can only decrease. Therefore, skipping leading zeros is a rather reasonable improvement.
* Make some asserts debug_asserts. Add more benches.Andreas Grois2022-10-191-4/+4
| | | | | Now that work on performance has started, accurate readings are important.
* Refactor base_conversion. Fix hmac byte bug.Andreas Grois2022-10-111-0/+76
Moved the basis conversion into a submodule, to ease the upcoming rewrite. Add a couple of new integration tests. Fix a bug caused by misreading the PasswordMaker Pro HMAC code.