{"id":19690522,"url":"https://github.com/open-obfuscator/dprotect","last_synced_at":"2025-04-05T14:04:57.431Z","repository":{"id":62360214,"uuid":"544333794","full_name":"open-obfuscator/dProtect","owner":"open-obfuscator","description":":electron: dProtect is a Proguard-based obfuscator for Java and Kotlin","archived":false,"fork":false,"pushed_at":"2023-06-04T06:46:32.000Z","size":6679,"stargazers_count":342,"open_issues_count":9,"forks_count":46,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-03-29T13:05:46.908Z","etag":null,"topics":["android","java","kotlin","obfuscation","proguard"],"latest_commit_sha":null,"homepage":"https://obfuscator.re/dprotect","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-obfuscator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-02T07:56:50.000Z","updated_at":"2025-03-28T01:35:14.000Z","dependencies_parsed_at":"2024-12-24T07:12:59.688Z","dependency_job_id":"e8b90201-0645-4751-b441-eacf6962ec9c","html_url":"https://github.com/open-obfuscator/dProtect","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-obfuscator%2FdProtect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-obfuscator%2FdProtect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-obfuscator%2FdProtect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-obfuscator%2FdProtect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-obfuscator","download_url":"https://codeload.github.com/open-obfuscator/dProtect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345850,"owners_count":20924102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","java","kotlin","obfuscation","proguard"],"created_at":"2024-11-11T19:05:48.457Z","updated_at":"2025-04-05T14:04:57.409Z","avatar_url":"https://github.com/open-obfuscator.png","language":"Java","readme":"\u003cp align=\"center\"\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://obfuscator.re/dprotect\"\u003e\n    \u003cimg src=\".github/img/banner.webp\" alt=\"dProtect\" width=\"100%\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/open-obfuscator/dProtect\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\ndProtect is an extension of Proguard with enhanced code obfuscation features. While Proguard is known for obfuscating\nsymbols (package names, class names, ...) and optimizing Java/Kotlin code, dProtect brings code obfuscation\nfor Java and Kotlin on the top of Proguard:\n\n```bash\n# Arithmetic Obfuscation\n-obfuscate-arithmetic,low class dprotect.examples.**\n-obfuscate-arithmetic,high,skipfloat class dprotect.internal.**\n\n# Strings Obfuscation\n-obfuscate-strings class dprotect.examples.**\n-obfuscate-strings class dprotect.internal.CheckPassword {\n    public static java.lang.String getPassword();\n    public static java.lang.String getLogin();\n\n    private static java.lang.String KEY;\n}\n\n# Control-flow obfuscation\n-obfuscate-control-flow class dprotect.internal.api.**\n\n# Constants Obfuscation\n-obfuscate-constants class dprotect.internal.api.Enum {\n  *;\n}\n```\n\ndProtect follows the same integration mechanism as Proguard such as it can be instantiated in an Android\nGradle-based project as follows:\n\n\u003ch6\u003ebuild.gradle\u003c/h6\u003e\n\n```gradle\nbuildscript {\n    repositories {\n        mavenCentral()\n        maven {\n          url = uri(\"https://maven.pkg.github.com/open-obfuscator/dProtect\")\n          credentials {\n              username = \"your-username\"\n              password = \"the-token\"\n          }\n        }\n    }\n    dependencies {\n        classpath 're.obfuscator:dprotect-gradle:1.0.0'\n    }\n}\n```\n\n**You need to generate a Github token to use `maven.pkg.github.com`**. Alternatively,\nyou can use the `dprotect-gradle-1.0.0.jar` archive of the release's artifacts.\n\n\u003ch6\u003eapp/build.gradle\u003c/h6\u003e\n\n```gradle\napply plugin: 're.obfuscator.dprotect'\n// ...\ndProtect {\n    configurations {\n      release {\n          configuration 'dprotect-rules.pro'\n      }\n    }\n}\n```\n\n\u003cimg src=\".github/img/dprotect-pipeline.webp\" alt=\"dProtect Pipeline\" width=\"100%\"\u003e\n\nYou can also find out more information here: https://obfuscator.re/dprotect\n\n### Contact\n\nYou can reach out by email at this address: `ping@obfuscator.re`\n\n#### Maintainers\n\n- [Romain Thomas](https://www.romainthomas.fr): [@rh0main](https://twitter.com/rh0main) - `me@romainthomas.fr`\n\n#### Credits\n\n- [Guardsquare](https://www.guardsquare.com/): Proguard's Owner\n- [Eric Lafortune](https://www.lafortune.eu/): Proguard's Author\n- [James Hamilton](https://jameshamilton.eu/): Proguard's Core dev/maintainer\n\n### License\n\ndProtect is released under the same License as Proguard: [GNU General Public License v2.0](https://github.com/Guardsquare/proguard/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-obfuscator%2Fdprotect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-obfuscator%2Fdprotect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-obfuscator%2Fdprotect/lists"}