obfuscation

Which Javascript minifier (cruncher) does the same things that the one Google uses for its JS APIs?

徘徊边缘 提交于 2019-12-17 21:44:57
问题 I am a Google Maps API (javascript) developer. I have noticed that Google uses a Javascript minifier that has the following features: Shortens variables, properties, arguments, classes, function and method names, obfuscating the code. (eg. function1 -> a, function2 -> b, function3 -> c) Some variables, classes, properties and methods can be marked to not be crunched, so its name remains the same as documented in the API manual. It is rerun in each subversion of the API, like a build task, I

Free JavaScript obfuscators? [closed]

南楼画角 提交于 2019-12-17 17:52:55
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . I'm looking for a free JavaScript obfuscator. Would compression be enough? What tools would you recommend? Of course, I don't need

Android - How to check Proguard obfuscation has worked?

怎甘沉沦 提交于 2019-12-17 17:37:15
问题 I have obfuscated my apk, but the file size has only been reduced from 12MB to 10.5MB. The reason it is only a relatively small reduction may be because my app uses a couple of large libraries, but is there any way I can check the level of obfuscation that has been performed? Just in case, this is my proguard-project.txt file... # To enable ProGuard in your project, edit project.properties # to define the proguard.config property as described in that file. # # Add project specific ProGuard

Best Java Obfuscation Application For Size Reduction [closed]

无人久伴 提交于 2019-12-17 13:43:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . An important part of mobile development, especially when you are talking about mobile games, is dealing with the application size restrictions. Some devices enforce their own size limits, while all the carriers have their own size requirements for applications to be released in their deck space. My question is,

Can you Distribute a Ruby on Rails Application without Source?

橙三吉。 提交于 2019-12-17 10:22:34
问题 I'm wondering if it's possible to distribute a RoR app for production use without source code? I've seen this post on SO, but my situation is a little different. This would be an app administered by people with some clue, so I'm cool with still requiring an Apache/Mongrel/MySQL setup on the customer end. All I really want is for the source to be protected. Encoding seems a popular way to go for distributing PHP apps (eg: Helpspot). I've found these potential solutions: Zenobfuscate - not all

Obfuscation (minifyEnabled true) not working in Debug and Release

痴心易碎 提交于 2019-12-17 10:06:07
问题 I cannot able to run apk using minifyEnabled true in Debug and Release mode.I have referred below links but none worked for me. 1.Android- Error:Execution failed for task ':app:transformClassesWithDexForRelease' 2.Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes - Android studio 2.0 beta 6 Below is application build.gradle file apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig {

Obfuscation (minifyEnabled true) not working in Debug and Release

拥有回忆 提交于 2019-12-17 10:05:09
问题 I cannot able to run apk using minifyEnabled true in Debug and Release mode.I have referred below links but none worked for me. 1.Android- Error:Execution failed for task ':app:transformClassesWithDexForRelease' 2.Error converting bytecode to dex: Cause: java.lang.RuntimeException: Exception parsing classes - Android studio 2.0 beta 6 Below is application build.gradle file apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig {

How to protect Java codes against decompiler? [closed]

橙三吉。 提交于 2019-12-17 06:51:36
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . As we know , there are a lot of java decompiler tools which can convert .class to .java file. Therefore,we need to protect our .java

Proguard and reflection in Android

十年热恋 提交于 2019-12-17 06:35:16
问题 I have just used proguard, but classes I am trying to instantiate via reflection are not working. I have an interface Algorithm I pass classes like this AlgorithmFactory.SomeClassThatExtendsAlgorithmImpl.class The class is instantiated like this public ArrayList<Algorithm> getAlgorithms(Context cnx) { ArrayList<Algorithm> list = new ArrayList<Algorithm>(); for(Class<? extends Algorithm> alg: algorithms) { try { Constructor<? extends Algorithm> c = alg.getConstructor(Context.class); list.add(c

Android Proguard Javascript Interface Fail

人走茶凉 提交于 2019-12-17 06:11:28
问题 I use in my project a piece of code as described here http://lexandera.com/2009/01/extracting-html-from-a-webview/ I create the .apk file, install it on my device and it correctly works. If I try to use the obfuscation with proguard the project fails, the method showHTML(String html) of MyJavaScriptInterface is not reached. My proguard configuration regarding that -keep public class com.mypackage.MyClass.MyJavaScriptInterface -keep public class * implements com.mypackage.MyClass