Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix benchmark errors. | Andreas Grois | 2022-10-23 | 3 | -6/+7 |
| | | | | | 20 bytes worst case was using 16 bytes. 32 bytes full division was producing a leading zero. | ||||
* | Pre-Allocate resulting password. | Andreas Grois | 2022-10-22 | 1 | -3/+8 |
| | | | | It's not perfect, but a much better guess than previously. | ||||
* | Increase duration and sample count for benchmarks. | Andreas Grois | 2022-10-22 | 3 | -6/+19 |
| | |||||
* | Group Benchmarks, and make parameters more sane. | Andreas Grois | 2022-10-20 | 8 | -205/+332 |
| | | | | | | | | The previous parameters for benchmarks were based on gut-feeling. Now each hash-length has 3 benchmarks: - Typical is a typical user input - Max Divisions is a full generate_password_part run - Worst Case is the worst user input possible: Base 2. | ||||
* | Make some asserts debug_asserts. Add more benches. | Andreas Grois | 2022-10-19 | 2 | -9/+74 |
| | | | | | Now that work on performance has started, accurate readings are important. | ||||
* | Add simple benchmarks. | Andreas Grois | 2022-10-13 | 2 | -1/+143 |
| | | | | As preparation for an eventual rewrite of the base conversion code. | ||||
* | Minor: rename a function | Andreas Grois | 2022-10-12 | 1 | -2/+2 |
| | | | | to better match the names of similar functions. | ||||
* | Add more password generation integration tests. | Andreas Grois | 2022-10-12 | 1 | -0/+251 |
| | | | | | A single test for each generation algorithm, and tests for prefix/suffix handling if there isn't enough space. | ||||
* | Fix Rust 1.52 compat. | Andreas Grois | 2022-10-11 | 1 | -3/+2 |
| | |||||
* | Refactor base_conversion. Fix hmac byte bug. | Andreas Grois | 2022-10-11 | 5 | -85/+208 |
| | | | | | | | 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. | ||||
* | Update Readme with the now final name of PassFish. | Andreas Grois | 2022-10-10 | 1 | -2/+2 |
| | |||||
* | Add first integration test. | Andreas Grois | 2022-10-09 | 2 | -1/+83 |
| | |||||
* | Add License and Readme files. | Andreas Grois | 2022-10-09 | 2 | -0/+178 |
| | |||||
* | First draft of docs. | Andreas Grois | 2022-10-09 | 4 | -87/+103 |
| | |||||
* | Also add url_parsing to this crate. | Andreas Grois | 2022-10-09 | 4 | -67/+711 |
| | |||||
* | Initial Commit: PasswordMaker itself. | Andreas Grois | 2022-10-09 | 9 | -0/+881 |
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. |