Skip to content

Releases: Ealireza/StringObfuscator

v0.0.4

Choose a tag to compare

@Ealireza Ealireza released this 06 Feb 22:25

v0.0.4 add selective layer 3

stringEncrypt {
enabled = true
applyToDebug = true
minStringLength = 4

// πŸ†• Mode: WHOLE_APP or SELECTED_ONLY
mode = EncryptMode.SELECTED_ONLY

// πŸ†• Include specific classes (for SELECTED_ONLY mode)
includeClasses = listOf(
    "com.appx.app.Splash",
    "com.appx.app.secrets.ApiConfig"
)

// πŸ†• Include entire packages
includePackages = listOf("com.appx.app.secrets")

// πŸ†• Random seed per build (recommended)
randomSeed = true  // New key every build!
// or fixedSeed = 0x12345678 for reproducible builds

}

v0.0.3

Choose a tag to compare

@Ealireza Ealireza released this 06 Feb 21:50

✨ What's New
Layer 1: Improved KSP Processor

Enhanced string property detection
Better support for arrays, lists, and sets
Improved code generation
Layer 2: StringRegistry (NEW)

New StringRegistry for inline string obfuscation
AES-128 encryption with app signature key derivation
Simple API: S["key"] syntax for easy usage
No code changes needed - just register and use
Layer 3: Bytecode Plugin (NEW)

Automatic inline string encryption
Zero code changes required
Uses modern AGP Instrumentation API
Configurable exclusions and patterns
πŸ”§ What's Fixed
Fixed deprecated GET_SIGNATURES API - now uses modern GET_SIGNING_CERTIFICATES on Android 9+
Backward compatible with Android 5.0+
Improved sample app with all three layer examples
πŸ“¦ Installation
kotlin
dependencies {
implementation("com.github.Ealireza.StringObfuscator:stringobfuscator-annotation:v0.0.3")
implementation("com.github.Ealireza.StringObfuscator:stringobfuscator-runtime:v0.0.3")
ksp("com.github.Ealireza.StringObfuscator:stringobfuscator-processor:v0.0.3")
}
πŸ“‹ Requirements
Kotlin 1.9+
KSP 2.0+
AGP 8.0+
Min SDK 21

v0.0.2

Choose a tag to compare

@Ealireza Ealireza released this 31 Oct 13:48
Add New stuff ..