encryption_interceptor 1.0.0
encryption_interceptor: ^1.0.0 copied to clipboard
A Dio interceptor that encrypts requests and decrypts responses using AES encryption, ensuring secure data transmission.
π CHANGELOG.md #
# Changelog
## [1.0.0] - Initial Release π
### Added
- AES encryption for request bodies (AES-256 CBC mode)
- AES decryption for response bodies
- Support for GET request encryption (optional via `enableGetEncryption`)
- Ability to skip encryption for specific requests using `skip-encryption` header
- Automatic error handling for failed decryption
- Dio interceptor integration
- Optimized request encryption to prevent unnecessary re-encryption
- Improved error handling for cases where decryption fails
- Better performance when handling large response data