- keyword argument name `b` changed to "`base`" in `utils.digit_count`.
Added
- Text encoder for the R129 challenge is exposed in `utils`.
Previously this had just lived only in test routines.
Fixed
- `utils.digit_count` Fixed bug that could yield incorrect results in close cases.
Improved
- `rand` module now has a [documentation page]( https://jpgoldberg.github.io/toy-crypto-math/rand.html). - Improved error messages for some Type and Value Errors. - Made it harder to accidentally mutate things in the `ec` class that shouldn't be mutated. - Improved documentation and test coverage for `utils` and `ec`. - Improved documentation for the `rsa` module. - Minor improvements to other documentation and docstrings
0.1.3
Added
- `py.typed` file. (This is the reason for the version bump.)
Improved
- `ec` classes use `property` instead of exposing some attributes directly. - `ec` module now has a [documentation page]( https://jpgoldberg.github.io/toy-crypto-math/ec.html). - This changelog is now in the proper location. - This changelog is better formatted.
0.1.2
Added
- _Partial_ [documentation][docs].
Improved
- Testing covers all supported Python versions (3.11, 3.12, 3.13)
0.1.1
Removed
- `redundent.prod()`. It was annoying type checkers and is, after all, redundant.
Added
- `utils.xor()` function for xor-ing bytes with a pad. - Explicit support for Python 3.13 - Github Actions for linting and testing
Improved
- Conforms to some stronger lint checks - Spelling in some code comments