Enchantrix/examples
google-labs-jules[bot] b4ef069ee6 fix: Correct test logic and revert breaking API changes
This commit addresses feedback from the code review:

- Updates the `TestChecksum_Bad` test in `tdd/trix/trix_test.go` to use `assert.ErrorIs` for consistent error handling.
- Reverts the breaking API change to `EncryptRSA` and `DecryptRSA` in `pkg/crypt/crypt.go` by re-introducing the `label` parameter to the public-facing functions.
- Updates the tests and examples to match the reverted API.
- Fixes a build error in `tdd/crypt/crypt_test.go` by re-introducing a necessary variable.
2025-11-02 18:46:36 +00:00
..
main.go fix: Correct test logic and revert breaking API changes 2025-11-02 18:46:36 +00:00