Use IntelliJ IDEA to configure Allatori for code obfuscation when developing Android applications, intellijallatori
IntelliJ IDEA provides very powerful Android development support. Even Android Studio officially recommended by Google is actually a dedicated Android development version of IntelliJ IDEA. Because the Android program uses the APK file Encapsulation Format when it is released, it is still a virtual machine bytecode and can be decompiled u
Software Security and copyright protection are important at any time, especially for enterprise-level development or some special applications. This article mainly discusses signature and obfuscation, principles, and ideas on how to secure development under the. NET platform.
Signature
Strong namingProgramSet to ensure that your assembly is unique without being tampered with or fraudulent use, even if the Assembly with the same name is different i
Android obfuscation code details and examples
Android obfuscation code details and examples
To prevent your work results from being stolen by others, obfuscation code can effectively prevent decompilation. The following describes the steps for obfuscation of code:
1. You may also see a new project with a proguard-proje
Android obfuscation of app codeReceives a new task to confuse the code of the existing project. I have had some knowledge about obfuscation before, but it is not detailed or complete enough to know that obfuscation is still tricky. But fortunately, the current project is not too complex (for obfuscation purposes) and c
Code obfuscation + Signature packaging in Android studio environmentThe author mr_ Mr. Feng's concern 2016.08.21 01:10 Words 1040 Read 734 comments 5 likes Note: The version of Android Studio used in this article is 2.1.2.To do a company project, you need to code the project to confuse + signature packaging, and then a variety of collection to view data, is a small result. The weekend is nothing to think of summing up the later use can do refe
In development environments later than Android, Google provides the proguard code obfuscation function (which can be added by yourself before) to protect the hard-to-write code.
The proguard. cfg file will be automatically added to the root directory of the newly created Project for code obfuscation. No matter which version of Android target you have created, it will be automatically added.
When you want to
Software Security and copyright protection are important at any time, especially for enterprise-level development or some special applications. This article mainly discusses signature and obfuscation, principles, and ideas on how to secure development under the. NET platform.
Signature
That is, a strongly-named Assembly ensures that your assembly is unique without being tampered with or exploited. Even if the Assembly with the same name has different
In SDK 2.3, we can see that a proguard folder is added under android_sdk _ path/tools/. Google places proguard Technology in the android SDK, it can be implemented through normal CompilationCodeConfused.
After Version 2.3, no matter which SDK version is used for development, two files, default. properties and proguard. cfg, will be created in a new project. Http://www.my400800.cn)
Download proguard4.6.zip
The default. properties code is as follows:
# This file is automatically gene
For a long time, JavaScript front-end code must be parsed in plain text by IE. Some encrypted JS such as JScript. Encode has been cracked for a long time due to the treasure of the tree. There are also some encryption methods, through complex transformations, to change the source code, but eventually all escape the final trial, such as unescape, document. write, eval statement to restore. The best way to protect JavaScript code is obfuscation. The goa
List of commonly used tools [more common]
Obfuscation, encryption
Dotfuscator
vs Default with the tool, but a Community editionNot very strong
DotNET Reactor
used the form of nativecode and confusion
Xenocode PostBuild
Professional tools
{smartassembly}. Setup.msi
Anti-compilation Tool
Reflector
One of the most prestigious tools,
Obfuscation (Proguard)The obfuscation compresses, optimizes, and confuses code by removing code that has never been used and renaming classes, fields, and methods with obscure names. The result is a smaller. apk file, which is more difficult to reverse engineer. Therefore, when your application is sensitive to security (high demand), such as when you authorize an application, the
To prevent your work results from being stolen by others, obfuscation code can effectively prevent decompilation. The following describes the steps for obfuscation of code:
1. You may also see a new project with a proguard-project.txt file under the project. This is very important for obfuscation code. If you accidentally delete it, it doesn't matter. Copy one fr
One, code obfuscation definition Java is a cross-platform, interpreted language. Java source code is compiled into the intermediate "bytecode" stored in the class file. Because of the need for cross-platform, Java bytecode contains very much source code information. such as variable name, method name. And through these names to access variables and methods, these symbols with a lot of semantic information, very easy to be anti-compiled into Java s
Meituan Android resource obfuscation protection practices
In the original article, Meituan Android resource obfuscation protection practices, but this article does not provide a specific obfuscation solution, but only adds a function. The function implementation process needs to be implemented by yourself, this article does not implement this function, but has a
Android code obfuscation prevents Decompilation
To prevent code decompilation, you need to add obfuscation. Obfuscation can also be performed by a third party or by using proguard in android.
Obfuscation steps:
1. The configuration obfuscation file can be named at will. Use
is as follows:System. Reflection. Assembly. GetExecutingAssembly ()System. Reflection. Assembly. GetCallingAssembly ()You can use the sn.exe command line tool in. net sdkto Generate Keys and signatures, or use the project-properties-signature tool in visual studio.
If the key is password protected, a pfx file is generated, and no password is used to generate an snk file. The pfx file is larger than the snk file;
Obfuscation
Fuzzy processing is perfor
Obfuscation (Proguard)---The obfuscation compresses, optimizes, and confuses code by removing code that has never been used and renaming classes, fields, and methods with obscure names. The result is a smaller. apk file, which is more difficult to reverse project. Therefore, when your application is sensitive to security (demanding), such as when you authorize an application, the
In development environments later than Android, Google provides the proguard code obfuscation function (which can be added by yourself before) to protect the hard-to-write code.
The proguard. cfg file will be automatically added to the root directory of the newly created Project for code obfuscation. No matter which version of Android target you have created, it will be automatically added.
When you want to
......
After realizing that I was in the wrong direction, I immediately translated my thoughts into English and searched for them by Google. The quality of Google translation is really good.
Soon I got this article decrypting strings in obfuscated assemblies, which tells me that this Assembly applies the string obfuscation algorithm. The same example is as follows:
Int num = 19; If (ARGs. length
When foreigners see the text of these squares, the fir
Why do you need code obfuscation? The reason is simple, your apk is very easy to decompile, the code you write will be seen, so we need to be in the process of compiling the code to some degree of confusion, so that others can not decompile your code. The following describes the following specific obfuscation process:To create a new project, the Android studio default turns off the code
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.