Guides
String Encryption
Protect string constants
Select a decoder backend and a protection profile for strings in your application. String protection is independent of call routing and arithmetic mutation.
Configuration
These entries belong in the engine block of your RR configuration.
engine ^ {
skipString false;
nativeStringVault false;
stringProtectionBackend "java-heterogeneous";
}
Choose a backend and profile
Use java-heterogeneous for Java decoders or legacy for the older backend. Normal, Strong and Critical select different protection profiles. Higher settings can add work during startup and string decoding.
Native profiles are not supported by the remote Java worker.
Option reference
For options beginning with skip, false enables the pass.
skipStringProtects string constants. Enabled exports skipString false. Disabling it also disables enhanced string protection.
Panel default false
Enhanced String Encryption
booleannativeStringVaultSelects the native string vault and enables Native VM. A matching native target and runtime are required.
Panel default false
stringProtectionBackendJava uses heterogeneous Java decoders. Legacy selects the older backend. Native requires Native VM and the string vault.
Panel default java-heterogeneousValues java-heterogeneous · legacy · native
stringProtectionProfileSelects Normal, Strong or Critical string protection. Test startup time and string-heavy code with the selected profile.
Panel default strongValues normal · strong · critical
Preserved class strings
booleanencryptPreservedClassStringsAllows string transformations in classes whose names are preserved. Check reflection and framework integrations.
Panel default false