Skip to content

Commit ec57722

Browse files
authored
Merge pull request #3 from Infinitode/performance-optimizations-12057234312788049835
Update README to v0.0.4 and include latest performance and integratio…
2 parents 75d6cf0 + b106b8c commit ec57722

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ An open-source Python library for code encryption, decryption, and safe evaluati
1212
> [!NOTE]
1313
> **CodeSafe** is intended to quickly encrypt/decrypt code files, and run them (only for Python script files) while in their encrypted form, but not as a means for powerful encryption, just code obfuscation. We have also included a `safe_eval` function, that can safely evaluate expressions within a safe environment.
1414
15+
### Changelog v0.0.4:
16+
- Major performance optimizations for encryption and decryption (~10x speedup).
17+
- Optimized `safe_eval` by pre-filtering builtins and reducing internal overhead.
18+
- Added support for `bytes` input in `encrypt`.
19+
- Added support for file-like stream objects in `run` and `decrypt_to_file`.
20+
- Standardized error handling (replaced `print` with exceptions).
21+
1522
### Changelog v0.0.3:
1623
- Added an `allow_attributes` parameter to `safe_eval` and set `immediate_termination` to be `True` by default for safer function calling.
1724

0 commit comments

Comments
 (0)