Skip to content

Refactor: Split ffx package into modules#25

Merged
kpdyer merged 1 commit intomasterfrom
refactor-modular-structure
Jan 9, 2026
Merged

Refactor: Split ffx package into modules#25
kpdyer merged 1 commit intomasterfrom
refactor-modular-structure

Conversation

@kpdyer
Copy link
Owner

@kpdyer kpdyer commented Jan 9, 2026

Reorganizes the codebase for better maintainability:

  • ffx/init.py - Public API and exports
  • ffx/exceptions.py - Custom exception classes
  • ffx/utils.py - Utility functions (long_to_bytes, bytes_to_long)
  • ffx/integer.py - FFXInteger class
  • ffx/encrypter.py - FFXEncrypter class

All existing functionality and tests continue to work unchanged. Import statements remain the same (import ffx).

Reorganizes the codebase for better maintainability:

- ffx/__init__.py    - Public API and exports
- ffx/exceptions.py  - Custom exception classes
- ffx/utils.py       - Utility functions (long_to_bytes, bytes_to_long)
- ffx/integer.py     - FFXInteger class
- ffx/encrypter.py   - FFXEncrypter class

All existing functionality and tests continue to work unchanged.
Import statements remain the same (import ffx).
@kpdyer kpdyer merged commit 34d00c4 into master Jan 9, 2026
5 checks passed
@kpdyer kpdyer deleted the refactor-modular-structure branch January 9, 2026 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant