A lightweight PHP tool that generates Java code to securely decrypt encrypted strings at runtime β designed to keep sensitive data hidden from Java decompilers.
Instead of embedding your original string directly in Java code (which can be exposed by decompilers), this tool:
- Encrypts and obfuscates the input string using AES-128 + character shifting.
- Generates Java code that includes only the encrypted version.
- In Java, when the generated function is called, the string is decrypted at runtime β not hardcoded.
This keeps your original string hidden and safe.
- AES-128 encryption in ECB mode with PKCS5Padding
- Character shifting for added obfuscation
- Java-compatible output
- Clean, readable Java code output
- No original string exposed in code β only decrypted at runtime
https://jummania.com/App/java-string-encryptor/?string=YourSecretText The tool will return valid Java code with your encrypted string and auto-decryption logic.
public class Jummania {
public String getString() {
return getString("8NkWOL8SbIqWyz0nlPzsCR...", "AnvNJBmt6d2Fjc66U1KCnP...");
}
}