confidential 0.4.0
confidential: ^0.4.0 copied to clipboard
Dart literals obfuscator to defend against static reverse engineering.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.4.0 - 2025-01-20 #
Added #
- Initial release of Dart Confidential
- Complete port of Swift Confidential functionality to Dart
- CLI tool for obfuscating literals (
dart-confidential) - Support for multiple obfuscation techniques:
- Encryption: AES-128/192/256-GCM, ChaCha20-Poly1305
- Compression: zlib, gzip, bzip2, lz4, lzfse (fallback), lzma (fallback)
- Randomization: shuffle, XOR
- YAML-based configuration system
- Code generation for obfuscated literals
- Namespace management (create/extend)
- Access modifier control
- Support for string and list values
- Comprehensive test suite
- Complete documentation and examples
Features #
- Polymorphic obfuscation: Different output for same input on each run
- Composable algorithms: Mix and match obfuscation techniques
- Type-safe generated code: Strongly typed obfuscated values
- Cross-platform: Works on all Dart platforms (Flutter, web, server)
- Security-focused: Designed for protecting sensitive literals from static analysis
Documentation #
- Comprehensive README with usage examples
- API documentation for all public interfaces
- Security considerations and best practices
- Migration guide from Swift Confidential concepts
Examples #
- Example configuration files
- Sample usage patterns
- CLI usage examples