aboutsummaryrefslogtreecommitdiff
path: root/src/passwordmaker
Commit message (Collapse)AuthorAgeFilesLines
* Add more unit tests to iterative_conversion.Andreas Grois2022-10-221-23/+206
|
* Make n-digit division performing.Andreas Grois2022-10-221-24/+18
| | | | | | The handling of overflows was non-performing before. Now it's performing and correcting. This lets us skip a less-than check for N-digit numbers, causing a slight performance improvement.
* Minor code cleanup. No performance impact.Andreas Grois2022-10-221-28/+37
|
* Code cleanup and addition of unit tests.Andreas Grois2022-10-221-78/+124
|
* Fix trait visibility.Andreas Grois2022-10-212-2/+2
|
* Exponential search for largest potency.Andreas Grois2022-10-213-8/+110
| | | | | Speeds up the 20 and 32 byte cases. Has slightly negative impact for 16 byte case.
* Macro for single-digit-division.Andreas Grois2022-10-201-37/+37
| | | | Just to remove code duplication.
* Minor: Shift Operation optimization.Andreas Grois2022-10-201-10/+4
|
* Change normalization of Knuth division to shift.Andreas Grois2022-10-191-6/+38
| | | | That's a lot faster than division.
* Add many-numbers test for long division.Andreas Grois2022-10-191-6/+67
|
* Draft of iterative_conversion.Andreas Grois2022-10-187-225/+129
|
* First draft of (untested) iterative conversion.Andreas Grois2022-10-186-36/+628
|
* Minor: rename a functionAndreas Grois2022-10-121-2/+2
| | | | to better match the names of similar functions.
* Fix Rust 1.52 compat.Andreas Grois2022-10-111-3/+2
|
* Refactor base_conversion. Fix hmac byte bug.Andreas Grois2022-10-114-84/+110
| | | | | | | 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.
* First draft of docs.Andreas Grois2022-10-092-9/+8
|
* Also add url_parsing to this crate.Andreas Grois2022-10-092-61/+63
|
* Initial Commit: PasswordMaker itself.Andreas Grois2022-10-095-0/+674
It's compiling, and the public interface is semi-OK now. The internals are still a bit gory, but they'll likely see an iteartion later on anyhow.