aboutsummaryrefslogtreecommitdiff
path: root/src
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.
* Pre-Allocate resulting password.Andreas Grois2022-10-221-3/+8
| | | | It's not perfect, but a much better guess than previously.
* 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.
* 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-093-87/+102
|
* Also add url_parsing to this crate.Andreas Grois2022-10-094-67/+711
|
* Initial Commit: PasswordMaker itself.Andreas Grois2022-10-096-0/+858
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.