{"id":22342871,"url":"https://github.com/pelock/jobfuscator","last_synced_at":"2025-07-30T01:32:50.055Z","repository":{"id":57037577,"uuid":"389398671","full_name":"PELock/JObfuscator","owner":"PELock","description":"JObfuscator is a source code obfuscator for the Java language. Protect Java source code \u0026 algorithms from hacking, cracking, reverse engineering, decompilation \u0026 technology theft.","archived":false,"fork":false,"pushed_at":"2023-03-11T14:35:16.000Z","size":25,"stargazers_count":37,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T13:40:07.264Z","etag":null,"topics":["decompiler","decompiler-java","java","mangle","mangler","obfuscate","obfuscate-code","obfuscate-strings","obfuscated","obfuscation","obfuscator","obfuscators","security","source-code"],"latest_commit_sha":null,"homepage":"https://www.pelock.com/products/jobfuscator","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PELock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-25T16:59:58.000Z","updated_at":"2025-04-19T22:47:03.000Z","dependencies_parsed_at":"2022-08-23T21:00:28.442Z","dependency_job_id":null,"html_url":"https://github.com/PELock/JObfuscator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/PELock/JObfuscator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PELock%2FJObfuscator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PELock%2FJObfuscator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PELock%2FJObfuscator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PELock%2FJObfuscator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PELock","download_url":"https://codeload.github.com/PELock/JObfuscator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PELock%2FJObfuscator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267792738,"owners_count":24144931,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["decompiler","decompiler-java","java","mangle","mangler","obfuscate","obfuscate-code","obfuscate-strings","obfuscated","obfuscation","obfuscator","obfuscators","security","source-code"],"created_at":"2024-12-04T08:13:59.253Z","updated_at":"2025-07-30T01:32:45.042Z","avatar_url":"https://github.com/PELock.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JObfuscator — Java Source Code Obfuscation \u0026 Protection\n\n**JObfuscator** is a source code obfuscator for the Java programming language. It can protect your Java source code and algorithms from hacking, cracking, reverse engineering, decompilation, and technology theft.\n\nJObfuscator employs a variety of obfuscation techniques to protect \u0026 conceal the true functionality of your Java source code.\n\nIt renames all variables and methods, obfuscates the code flow by making it non-linear, and encrypts all strings with our cutting-edge polymorphic [string encryption](https://www.stringencrypt.com) engine.\n\nMore technical details, downloads, documentation available at:\n\nhttps://www.pelock.com/products/jobfuscator\n\n![JObfuscator Java Obfuscator Windows Client](https://www.pelock.com/img/en/products/jobfuscator/jobfuscator-java-obfuscator-obfuscation-1-0-main.png)\n\nIt's available for Windows \u0026 Linux (requires Mono):\n\nhttps://www.pelock.com/products/jobfuscator/download\n\nMultiple programming APIs available:\n\nhttps://www.pelock.com/products/jobfuscator/api\n\nAn online obfuscator interface:\n\nhttps://www.pelock.com/jobfuscator/\n\n## Java decompilation is a huge problem\n\nApplications written in Java and compiled to `JAR`, `WAR` or `CLASS` formats are vulnerable to decompilation.\n\nThere are a number of [decompilers](https://www.pelock.com/articles/reverse-engineering-tools-review#disassemblers-and-decompilers) that can almost completely recreate the compiled code back to Java source.\n\nThe problem is that the compiled Java code is written as a so-called [bytecode](https://en.wikipedia.org/wiki/Java_bytecode) for the [JVM](https://en.wikipedia.org/wiki/Java_virtual_machine) (as opposed to the native CPU code like `x86` or `x86-64`).\n\nIn addition to being perfectly [perfectly documented](https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-6.html), this form of code allows for very accurate reproduction of the original instructions in high-level Java source code.\n\n\n## What can Java decompilers do?\n\nTake a look at this example:\n\n![Java JAD Decompiler](https://www.pelock.com/img/en/products/jobfuscator/java-jad-decompiler-decompilation.png)\n\nThis is **decompiled** Java code! All the variable, property and method names are readable. You can even easily navigate through the entire decompiled project, jumping from one class to another.\n\nAre you surprised? It could be your software analyzed by the competition, hackers, crackers or anyone else.\n\n## Technology \u0026 Intellectual Property (IP) Theft\n\nWhat could they do with it? Most of the time, the software or its algorithms are stolen or replicated in competing products.\n\nIn some other cases, the software gets cracked, clearly visible license checks in decompiled source code are patched or even the entire cracked software is recompiled and published on pirate sites.\n\n## Java source code obfuscation\n\nObfuscation is the process of transforming Java source code into a **protected** version of itself.\n\nThe functionality remains **unchanged**, everything works the same, but the source code and the final compiled bytecode are protected from reverse engineering analysis, even after the decompilation.\n\n### Sample Java source code before obfuscation \n\n```java\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n//\n// you must include custom annotations to enable\n// entire class or a single method obfuscation\n//\n@Obfuscate\nclass Ideone\n{\n    //@Obfuscate\n    public static double calculateSD(double numArray[])\n    {\n        double sum = 0.0, standardDeviation = 0.0;\n        int length = numArray.length;\n\n        for(double num : numArray) {\n            sum += num;\n        }\n\n        double mean = sum/length;\n\n        for(double num: numArray) {\n            standardDeviation += Math.pow(num - mean, 2);\n        }\n\n        return Math.sqrt(standardDeviation/length);\n    }\n\n    //\n    // selective obfuscation strategies can be applied\n    // for the entire class or a single method (by default\n    // all obfuscation strategies are enabled when you\n    // use @Obfuscate annotation alone)\n    //\n    //@Obfuscate(\n    //  remove_comments = true,\n    //  crypt_strings = true,\n    //  rename_methods = false,\n    //  rename_variables = true,\n    //  shuffle_methods = true,\n    //  mix_code_flow = true,\n    //  ints_to_arrays = true\n    // )\n    public static void main(String[] args) {\n\n        double[] numArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };\n        double SD = calculateSD(numArray);\n\n        System.out.format(\"Standard Deviation = %.6f\", SD);\n    }\n}\n```\n\n### The same Java source code after the obfuscation\n\n```java\n////////////////////////////////////////////////////////////////////////////////\n//\n// An output from JObfuscator v1.04 - Bartosz Wójcik\n//\n// Website   : https://www.pelock.com/products/jobfuscator\n// Version   : v1.04\n// Params    : /MixCodeFlow /RenMethods /RenVars /ShuffleMethods /IntsMathCrypt\n//             /CryptStr /IntsToArray /DblsToArray\n// New lines : Windows (CRLF - \\r\\n)\n// Date      : 05.08.2021\n//\n////////////////////////////////////////////////////////////////////////////////\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\nimport java.lang.Math.*;\n\nclass Ideone {\n\n    public static void main(String[] args) {\n        double[] var_3643 = { 11.281129091070447, 8.215990040064463, 9.335603284152908, 6.577895383020224, 7.877805395297853, 0.9548404018895811, 5.272519318820092, 12.245640663335054, 1.9976550397430217, 10.498728922195335, 4.456573802948024, 2.6442660372556444, 3.7216852394828073 };\n        double[] POCKKZB_FGNQQA = { 8.38801852183473, 2.284191901516045, 5.084540489182378, 1.674058425502392, 6.582113966026355, 4.535954119796876, 9.655576838937206, 0.9057730473532776, 12.594924738730645, 7.746648086079376, 11.98098322298382, 3.255923593789993, 10.419132138693842 };\n        int[] BQ__Y_IAsVbM2emsVuNM_ = { 7, 3, 5, 1, 2, 6, 8, 12, 9, 0, 4, 11, 10 };\n        double[] jY__n3HVSq_WnFXQMnt = { 4.522937188633843, 7.63592787991592, 9.711938391204889, 12.329314329092874, 1.1257488711853099, 11.26843992090746, 0.20656899168837578, 8.596210417144972, 6.313987076769585, 2.726188726136701, 5.437577113574992, 10.94073555701292, 3.2325862076196463 };\n        int[] var_801 = { 6, 10, 4, 5, 0, 12, 3, 8, 7, 9, 1, 11, 2 };\n        double[] var_3117 = { 1.59679966392783E9, 5.09464, 1.7081, 1.59679967201455E9, 8221.83558, 0.6956, 81286.37426, 11.30573, 1.87014187726384E9, 0.0, 0.30216, 1.93861225375307E9, 1.61031449284985E9 };\n        double[] p_vc56jpND__QGGjzT4_Wo7 = { 1.8560312987803957, 2.4090487677657637, 0.8107141612789537 };\n        int[] CLOHOQ_TOCOXGBRWY_PVBHFAV = { 0, 2, 1 };\n        int[] g_hFqjbczKirudqjb = { 1, 0, 2 };\n        int[] A7c7WIo__fQMQjM_lR = { 1, 0, 2 };\n        int[] fKzmro = { 0, 1, 2 };\n        double[] pFlxasazuVysmwcpkfm = { 1.7137421654720035, 0.880784281506382, 2.044091478491187 };\n        double[] b_9rz1_gUCNc_ceKC = { 25.495116489488254, 65535.73197007176, 0.7422593232260603 };\n        int mZwtvvepUboureeved = (int) (-var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[4])])]])]] + Math.log(var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[11])])]])]]));\n        double kW2_ZQnBOs9VL_mjKXcB__4 = var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[6])])]])]];\n        double[] _KnlkZiv_t6Ohx_xWp_9M = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };\n        mZwtvvepUboureeved = (int) (var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[8])])]])]] - Math.sinh(var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[2])])]])]]));\n        while (mZwtvvepUboureeved != (int) (var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[3])])]])]] + Math.sin(var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[9])])]])]]))) {\n            switch(mZwtvvepUboureeved) {\n                case 1678784867:\n                    String var_1767 = \"\";\n                    int[] _KhlYbJNlonwV_I_OOZKAb_ = { 0x0052, 0x0073, 0x005C, 0x0069, 0x005B, 0x005E, 0x006D, 0x005B, 0x001F, 0x0033, 0x0050, 0x0061, 0x0050, 0x005E, 0x006B, 0x0056, 0x004E, 0x004D, 0x001F, 0x003A, 0x001F, 0x001A, 0x0001, 0x0009, 0x0055 };\n                    for (int x0Qc_6t8YSu__UjlP_hUC6M6 = (int) (b_9rz1_gUCNc_ceKC[(int) (pFlxasazuVysmwcpkfm[fKzmro[A7c7WIo__fQMQjM_lR[g_hFqjbczKirudqjb[CLOHOQ_TOCOXGBRWY_PVBHFAV[(int) (p_vc56jpND__QGGjzT4_Wo7[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[3])])]])]])]]]]])]), _bFfGZu_kuSY5dNkBN_ku_tU = (int) (b_9rz1_gUCNc_ceKC[(int) (pFlxasazuVysmwcpkfm[fKzmro[A7c7WIo__fQMQjM_lR[g_hFqjbczKirudqjb[CLOHOQ_TOCOXGBRWY_PVBHFAV[(int) (p_vc56jpND__QGGjzT4_Wo7[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[3])])]])]])]]]]])]); x0Qc_6t8YSu__UjlP_hUC6M6 \u003c (int) (b_9rz1_gUCNc_ceKC[(int) (pFlxasazuVysmwcpkfm[fKzmro[A7c7WIo__fQMQjM_lR[g_hFqjbczKirudqjb[CLOHOQ_TOCOXGBRWY_PVBHFAV[(int) (p_vc56jpND__QGGjzT4_Wo7[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[9])])]])]])]]]]])]); x0Qc_6t8YSu__UjlP_hUC6M6++) {\n                        _bFfGZu_kuSY5dNkBN_ku_tU = _KhlYbJNlonwV_I_OOZKAb_[x0Qc_6t8YSu__UjlP_hUC6M6];\n                        _bFfGZu_kuSY5dNkBN_ku_tU ^= x0Qc_6t8YSu__UjlP_hUC6M6;\n                        _bFfGZu_kuSY5dNkBN_ku_tU += x0Qc_6t8YSu__UjlP_hUC6M6;\n                        _bFfGZu_kuSY5dNkBN_ku_tU++;\n                        var_1767 += (char) (_bFfGZu_kuSY5dNkBN_ku_tU \u0026 (int) (b_9rz1_gUCNc_ceKC[(int) (pFlxasazuVysmwcpkfm[fKzmro[A7c7WIo__fQMQjM_lR[g_hFqjbczKirudqjb[CLOHOQ_TOCOXGBRWY_PVBHFAV[(int) (p_vc56jpND__QGGjzT4_Wo7[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[12])])]])]])]]]]])]));\n                    }\n                    System.out.format(var_1767, kW2_ZQnBOs9VL_mjKXcB__4);\n                    mZwtvvepUboureeved = (int) (var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[10])])]])]] - Math.log(var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[5])])]])]]));\n                    break;\n                case 68470377:\n                    kW2_ZQnBOs9VL_mjKXcB__4 = SrwgvFunc(_KnlkZiv_t6Ohx_xWp_9M);\n                    mZwtvvepUboureeved -= -(int) (var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[1])])]])]] - Math.cosh(var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[12])])]])]]));\n                    break;\n                case 1938612253:\n                    double[] var_2915 = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };\n                    mZwtvvepUboureeved += -(int) (var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[0])])]])]] - Math.acos(var_3117[var_801[(int) (jY__n3HVSq_WnFXQMnt[BQ__Y_IAsVbM2emsVuNM_[(int) (POCKKZB_FGNQQA[(int) (var_3643[7])])]])]]));\n                    break;\n            }\n        }\n    }\n\n    public static double SrwgvFunc(double[] numArray) {\n        double[] hXbuzlw = { 10.104687460635152, 14.863255212498105, 0.21565589122677703, 16.92136884299982, 8.284692818502851, 12.82669846485655, 15.403473564468571, 7.030894818830625, 9.171975582854735, 19.391816756528755, 11.864284748161538, 2.226792621794286, 13.24428454752136, 6.78017800635685, 20.155440287615413, 18.27510090243092, 3.589298943371685, 4.152627738386547, 5.665271866480059, 17.704844863089786, 1.0649770468512563 };\n        double[] var_575 = { 1.0296391297689236, 15.726628357412975, 20.92993527990269, 5.173619116590729, 7.844535074545817, 6.009394167087513, 16.086142381371435, 9.063044736138085, 4.990968854206419, 0.4740423015646155, 10.092369822585235, 19.48145881150217, 12.423331723670914, 13.445497843589065, 2.206559166836813, 8.16258487934631, 14.436447989183236, 11.161001228043002, 3.7977942067981534, 18.27965827256959, 17.307170323906416 };\n        int[] ZTEHAAYPJ_BISQMK = { 10, 3, 18, 6, 17, 9, 13, 15, 4, 16, 1, 12, 0, 19, 2, 14, 7, 8, 11, 20, 5 };\n        double[] iPlwrvpWkihvhctOrtubm = { 18.347247829648513, 15.993259210013832, 10.384509235580781, 7.659966773454712, 16.24894028024241, 14.250989627900879, 6.770226899219857, 8.283226421492104, 5.968118628152126, 1.3646389169586972, 2.717989641816233, 9.456551089444694, 11.143709780182407, 17.63249476052649, 13.72219811303589, 12.966327271855473, 3.0874626146986275, 0.861290055418454, 19.982579577626073, 20.466740193225053, 4.800445667758794 };\n        int[] var_2798 = { 14, 18, 16, 7, 5, 20, 15, 17, 10, 3, 13, 8, 2, 4, 9, 0, 1, 19, 12, 6, 11 };\n        int[] _w4ACl_Eb5iuB8tKft_ = { 6, 0, 16, 4, 9, 7, 1, 15, 2, 18, 20, 19, 10, 11, 12, 14, 17, 3, 8, 5, 13 };\n        double[] hFhzzxalpCshbolybyAslokrjo = { 0.7181203868509979, 2.9664637532667175, 9.515313299638107, 11.028323637923771, 6.390764892028182, 1.6030539747361725, 13.602130216656779, 18.414734494486385, 12.120766708284188, 7.961180222338676, 19.660846284473546, 5.578285135296968, 10.026225747743108, 15.49952117540782, 8.311906496462326, 14.44368335473346, 16.140307679070638, 17.004912894121887, 4.181691213350765, 20.99407023105516, 3.8834204842296294 };\n        int[] VAJLMKZ_MXMVAU_OHBRFS = { 7, 5, 10, 9, 1, 8, 11, 20, 17, 12, 0, 14, 13, 15, 16, 2, 6, 18, 3, 19, 4 };\n        double[] sAddoktk = { 1.6917277213165E9, 8079980.36161, 1.39348949767438E9, 45675.0865, 4.90983645E8, 15.9049, 7.80728377E8, 7.8073028200948E8, 8.68929906E8, 7.2918859851708E8, 5.04406, 1.24329286210753E9, 4.8208860701707E8, 2.9335, 43629.12742, 0.0, 3.4975, 6.65968, 6.2370634220671E8, 3.21790680933E7, 1.14826593649877E9 };\n        int var_921 = (int) Math.max(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[0])])]])]]])]], sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[0])])]])]]])]]);\n        double var_3498 = sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[0])])]])]]])]], g_pCbzjagbHcxgvwbj = sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[0])])]])]]])]];\n        int var_2533 = (int) (sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[11])])]])]]])]] - Math.exp(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[18])])]])]]])]]));\n        double var_60 = sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[0])])]])]]])]];\n        var_921 = (int) (sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[4])])]])]]])]] + Math.log1p(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[2])])]])]]])]]));\n        while (var_921 != (int) Math.max(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[13])])]])]]])]], sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[3])])]])]]])]])) {\n            switch(var_921) {\n                case 1691727732:\n                    g_pCbzjagbHcxgvwbj = sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[0])])]])]]])]];\n                    var_921 += -(int) Math.min(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[6])])]])]]])]], sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[17])])]])]]])]]);\n                    break;\n                case 623706361:\n                    for (double KVCJGC : numArray) {\n                        g_pCbzjagbHcxgvwbj += Math.pow(KVCJGC - var_60, (int) (sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[15])])]])]]])]] - Math.log10(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[10])])]])]]])]])));\n                    }\n                    var_921 += (int) (Math.cos(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[1])])]])]]])]]) + sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[14])])]])]]])]]);\n                    break;\n                case 910999355:\n                    var_2533 = numArray.length;\n                    var_921 -= (int) Math.max(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[5])])]])]]])]], sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[12])])]])]]])]]);\n                    break;\n                case 2017195859:\n                    var_921 += -(int) (sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[20])])]])]]])]] + Math.sinh(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[7])])]])]]])]]));\n                    break;\n                case 420015710:\n                    for (double var_854 : numArray) {\n                        var_3498 += var_854;\n                    }\n                    var_921 -= -(int) (sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[9])])]])]]])]] - Math.cbrt(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[19])])]])]]])]]));\n                    break;\n                case 1663307788:\n                    var_60 = var_3498 / var_2533;\n                    var_921 = (int) (Math.exp(sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[16])])]])]]])]]) + sAddoktk[VAJLMKZ_MXMVAU_OHBRFS[(int) (hFhzzxalpCshbolybyAslokrjo[_w4ACl_Eb5iuB8tKft_[var_2798[(int) (iPlwrvpWkihvhctOrtubm[ZTEHAAYPJ_BISQMK[(int) (var_575[(int) (hXbuzlw[8])])]])]]])]]);\n                    break;\n            }\n        }\n        return Math.sqrt(g_pCbzjagbHcxgvwbj / var_2533);\n    }\n}\n```\n\nWould you even be able to tell what the obfuscated code does if you didn't know about the original source code?\n\n## Protect your Java projects \u0026 algorithms\n\nTake no chances, use **JObfuscator** to obfuscate and protect your Java projects and algorithms.\n\nOur company has a long history in obfuscation technologies and code obfuscators (see our [x86 Assembly](https://www.pelock.com/products/obfuscator) \u0026 [AutoIt](https://www.pelock.com/products/autoit-obfuscator) obfuscators).\n\nWe actively bugfix, research and develop new obfuscation strategies for our tools.\n\nYou can count on our expertise and support in this field.\n\n### Installation\n\nThe preferred way of WebApi interface installation is via [composer](https://getcomposer.org/).\n\nRun:\n\n```\nphp composer.phar require --prefer-dist pelock/jobfuscator \"*\"\n```\n\nOr add this entry:\n\n```\n\"pelock/jobfuscator\": \"*\"\n```\n\ndirectly to your `composer.json` in require section.\n\nThe installation package is available at https://packagist.org/packages/pelock/jobfuscator\n\n### Example of obfuscating Java source code using default options\n\n```php\n\u003c?php\n\n/******************************************************************************\n * JObfuscator WebApi interface usage example.\n *\n * In this example we will obfuscate sample source with default options.\n *\n * Version        : v1.04\n * Language       : PHP\n * Author         : Bartosz Wójcik\n * Web page       : https://www.pelock.com\n *\n *****************************************************************************/\n\n//\n// include JObfuscator class\n//\nuse PELock\\JObfuscator;\n\n//\n// if you don't want to use Composer use include_once\n//\n//include_once \"JObfuscator.php\";\n\n//\n// create JObfuscator class instance (we are using our activation key)\n//\n$myJObfuscator = new PELock\\JObfuscator(\"ABCD-ABCD-ABCD-ABCD\");\n\n//\n// source code in Java format\n//\n$sourceCode = 'import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n//\n// you must include custom annotation\n// to enable entire class or a single\n// method obfuscation\n//\n@Obfuscate\nclass Ideone\n{\n    //@Obfuscate\n    public static double calculateSD(double numArray[])\n    {\n        double sum = 0.0, standardDeviation = 0.0;\n        int length = numArray.length;\n\n        for(double num : numArray) {\n            sum += num;\n        }\n\n        double mean = sum/length;\n\n        for(double num: numArray) {\n            standardDeviation += Math.pow(num - mean, 2);\n        }\n\n        return Math.sqrt(standardDeviation/length);\n    }\n\n    //\n    // selective obfuscation strategies\n    // can be applied for the entire\n    // class or a single method (by\n    // default all obfuscation strategies\n    // are enabled when you use @Obfuscate\n    // annotation alone)\n    //\n    //@Obfuscate(\n    //  ints_math_crypt = true,\n    //  crypt_strings = true,\n    //  rename_methods = false,\n    //  rename_variables = true,\n    //  shuffle_methods = true,\n    //  mix_code_flow = true,\n    //  ints_to_arrays = true,\n    //  dbls_to_arrays = true\n    // )\n    public static void main(String[] args) {\n\n        double[] numArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };\n        double SD = calculateSD(numArray);\n\n        System.out.format(\"Standard Deviation = %.6f\", SD);\n    }\n}';\n\n//\n// by default all obfuscation options are enabled, so we can just simply call:\n//\n$result = $myJObfuscator-\u003eObfuscateJavaSource($sourceCode);\n\n//\n// it's also possible to pass a Java source file path instead of a string e.g.\n//\n// $result = $myJObfuscator-\u003eObfuscateJavaFile(\"/path/to/project/source.java\");\n\n//\n// $result[] array holds the obfuscation results as well as other information\n//\n// $result[\"error\"]         - error code\n// $result[\"output\"]        - obfuscated code\n// $result[\"demo\"]          - was it used in demo mode (invalid or empty activation key was used)\n// $result[\"credits_left\"]  - usage credits left after this operation\n// $result[\"credits_total\"] - total number of credits for this activation code\n// $result[\"expired\"]       - if this was the last usage credit for the activation key it will be set to true\n//\nif ($result !== false)\n{\n\t// display obfuscated code\n\tif ($result[\"error\"] === \\PELock\\JObfuscator::ERROR_SUCCESS)\n\t{\n\t\t// format output code for HTML display\n\t\techo \"\u003cpre\u003e\" . htmlentities($result[\"output\"]) . \"\u003c/pre\u003e\";\n\t}\n\telse\n\t{\n\t\tdie(\"An error occurred, error code: \" . $result[\"error\"]);\n\t}\n}\nelse\n{\n\tdie(\"Something unexpected happen while trying to obfuscate the code.\");\n}\n\n?\u003e\n```\n\n### An example of obfuscating Java source code with customized obfuscation strategies\n\n```php\n\u003c?php\n\n/******************************************************************************\n * JObfuscator WebApi interface usage example.\n *\n * In this example we will obfuscate sample source with custom options.\n *\n * Version        : v1.01\n * Language       : PHP\n * Author         : Bartosz Wójcik\n * Web page       : https://www.pelock.com\n *\n *****************************************************************************/\n\n//\n// include JObfuscator class\n//\nuse PELock\\JObfuscator;\n\n//\n// if you don't want to use Composer use include_once\n//\n//include_once \"JObfuscator.php\";\n\n//\n// create JObfuscator class instance (we are using our activation key)\n//\n$myJObfuscator = new PELock\\JObfuscator(\"ABCD-ABCD-ABCD-ABCD\");\n\n//\n// should the source code be compressed (both input \u0026 compressed)\n//\n$myJObfuscator-\u003eenableCompression = true;\n\n//\n// global obfuscation options\n//\n// when disabled will discard any @Obfuscate annotation declaration\n// in the Java source code\n//\n// you can disable a particular obfuscation strategy globally if it\n// fails or you don't want to use it without modifying the source codes\n//\n// by default all obfuscation strategies are enabled\n//\n\n//\n// change linear code execution flow to non-linear version\n//\n$myJObfuscator-\u003emixCodeFlow = true;\n\n//\n// rename variable names to random string values\n//\n$myJObfuscator-\u003erenameVariables = true;\n\n//\n// rename method names to random string values\n//\n$myJObfuscator-\u003erenameMethods = true;\n\n//\n// shuffle order of methods in the output source\n//\n$myJObfuscator-\u003eshuffleMethods = true;\n\n//\n// encrypt integers using more than 15 floating point math functions from the java.lang.Math.* class\n//\n$myJObfuscator-\u003eintsMathCrypt = true;\n\n//\n// encrypt strings using polymorphic encryption algorithms\n//\n$myJObfuscator-\u003ecryptStrings = true;\n\n//\n// for each method, extract all possible integers from the code and store them in an array\n//\n$myJObfuscator-\u003eintsToArrays = true;\n\n//\n// for each method, extract all possible doubles from the code and store them in an array\n//\n$myJObfuscator-\u003edblsToArrays = true;\n\n//\n// source code in Java format\n//\n$sourceCode = 'import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n//\n// you must include custom annotation\n// to enable entire class or a single\n// method obfuscation\n//\n@Obfuscate\nclass Ideone\n{\n    //@Obfuscate\n    public static double calculateSD(double numArray[])\n    {\n        double sum = 0.0, standardDeviation = 0.0;\n        int length = numArray.length;\n\n        for(double num : numArray) {\n            sum += num;\n        }\n\n        double mean = sum/length;\n\n        for(double num: numArray) {\n            standardDeviation += Math.pow(num - mean, 2);\n        }\n\n        return Math.sqrt(standardDeviation/length);\n    }\n\n    //\n    // selective obfuscation strategies\n    // can be applied for the entire\n    // class or a single method (by\n    // default all obfuscation strategies\n    // are enabled when you use @Obfuscate\n    // annotation alone)\n    //\n    //@Obfuscate(\n    //  ints_math_crypt = true,\n    //  crypt_strings = true,\n    //  rename_methods = false,\n    //  rename_variables = true,\n    //  shuffle_methods = true,\n    //  mix_code_flow = true,\n    //  ints_to_arrays = true,\n    //  dbls_to_arrays = true\n    // )\n    public static void main(String[] args) {\n\n        double[] numArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };\n        double SD = calculateSD(numArray);\n\n        System.out.format(\"Standard Deviation = %.6f\", SD);\n    }\n}';\n\n//\n// by default all options are enabled, both helper random numbers\n// generation \u0026 obfuscation strategies, so we can just simply call:\n//\n$result = $myJObfuscator-\u003eObfuscateJavaSource($sourceCode);\n\n//\n// it's also possible to pass a Java source file path instead of a string e.g.\n//\n// $result = $myJObfuscator-\u003eObfuscateJavaFile(\"/path/to/project/source.java\");\n\n//\n// $result[] array holds the obfuscation results as well as other information\n//\n// $result[\"error\"]         - error code\n// $result[\"output\"]        - obfuscated code\n// $result[\"demo\"]          - was it used in demo mode (invalid or empty activation key was used)\n// $result[\"credits_left\"]  - usage credits left after this operation\n// $result[\"credits_total\"] - total number of credits for this activation code\n// $result[\"expired\"]       - if this was the last usage credit for the activation key it will be set to true\n//\nif ($result !== false)\n{\n\t// display obfuscated code\n\tif ($result[\"error\"] === \\PELock\\JObfuscator::ERROR_SUCCESS)\n\t{\n\t\t// format output code for HTML display\n\t\techo \"\u003cpre\u003e\" . htmlentities($result[\"output\"]) . \"\u003c/pre\u003e\";\n\t}\n\telse\n\t{\n\t\tdie(\"An error occurred, error code: \" . $result[\"error\"]);\n\t}\n}\nelse\n{\n\tdie(\"Something unexpected happen while trying to obfuscate the code.\");\n}\n\n?\u003e\n```\n\n#### Example of how to check the activation key status\n\n```php\n\u003c?php\n\n/******************************************************************************\n * JObfuscator WebApi interface usage example.\n *\n * In this example we will verify our activation key status.\n *\n * Version        : v1.0\n * Language       : PHP\n * Author         : Bartosz Wójcik\n * Web page       : https://www.pelock.com\n *\n *****************************************************************************/\n\n//\n// include JObfuscator class\n//\nuse PELock\\JObfuscator;\n\n//\n// if you don't want to use Composer use include_once\n//\n//include_once \"JObfuscator.php\";\n\n//\n// create JObfuscator class instance (we are using our activation key)\n//\n$myJObfuscator = new PELock\\JObfuscator(\"ABCD-ABCD-ABCD-ABCD\");\n\n//\n// login to the service\n//\n$result = $myJObfuscator-\u003eLogin();\n\n//\n// $result[] array holds the information about the license\n//\n// $result[\"demo\"]          - is it a demo mode (invalid or empty activation key was used)\n// $result[\"credits_left\"]  - usage credits left after this operation\n// $result[\"credits_total\"] - total number of credits for this activation code\n// $result[\"string_limit\"]  - max. source code size allowed (it's 1500 bytes for demo mode)\n//\nif ($result !== false)\n{\n\techo \"Demo version status - \" . ($result[\"demo\"] ? \"true\" : \"false\") . \"\u003cbr\u003e\";\n\techo \"Usage credits left - \" . $result[\"credits_left\"] . \"\u003cbr\u003e\";\n\techo \"Total usage credits - \" . $result[\"credits_total\"] . \"\u003cbr\u003e\";\n\techo \"Max. source code size - \" . $result[\"string_limit\"] . \"\u003cbr\u003e\";\n}\nelse\n{\n\tdie(\"Something unexpected happen while trying to login to the service.\");\n}\n\n?\u003e\n```\n\n## Use Java Obfuscator Online\n\nOnline interface for the JObfuscator is available at:\n\nhttps://www.pelock.com/jobfuscator/\n\n## Windows \u0026 Linux GUI client and command line version\n\nJObfuscator also comes with full GUI version for Windows and Linux (requires [Mono](https://www.mono-project.com/)).\n\nYou can download it at:\n\nhttps://www.pelock.com/products/jobfuscator/download\n\nAn additional command line version is included in the installation package.\n\nIt is compatible with Windows (.NET) and Linux (Mono).\n\n### Main JObfuscator window\n\n![JObfuscator Java Obfuscator Windows Client](https://www.pelock.com/img/en/products/jobfuscator/jobfuscator-java-obfuscator-obfuscation-1-0-main.png)\n\n### Obfuscation options:\n\n![JObfuscator Java Obfuscator Obfuscation Options](https://www.pelock.com/img/en/products/jobfuscator/jobfuscator-java-obfuscator-obfuscation-1-0-options.png)\n\n### Obfuscated Java code\n\n![JObfuscator Obfuscated Java Code](https://www.pelock.com/img/en/products/jobfuscator/jobfuscator-java-obfuscator-obfuscation-1-0-obfuscated.png)\n\n### JObfuscator command line version\n\n![JObfuscator Command Line Version](https://www.pelock.com//img/en/products/jobfuscator/jobfuscator-java-obfuscator-obfuscation-1-0-console-comand-line.png)\n\nJava obfuscation can be integrated into your build process or any other batch operation using the JObfuscator command line version.\n\nBartosz Wójcik\n\n* Visit my site at — https://www.pelock.com\n* Twitter — https://twitter.com/PELock\n* GitHub — https://github.com/PELock","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpelock%2Fjobfuscator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpelock%2Fjobfuscator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpelock%2Fjobfuscator/lists"}