# 코드 난독화

안드로이드에서는 코드난독화를 위하여 ProGuard와 DexGuard를 주로 사용하며, 주요 차이점은 다음과 같습니다.

#### ProGuard

* Java Class 파일을 축소, 최적화, 난독화, 사전 검증할 수 있는 무료 도구&#x20;
* 무료
* <https://developer.android.com/studio/build/shrink-code?hl=ko>

#### DexGuard

* 소스코드 난독화및 최적화, 문자열 암호화, 중요 API 숨김처리, Class 암호화
* 유료
* <https://www.guardsquare.com/dexguard>

{% embed url="<https://www.youtube.com/watch?v=OkAYkt2iC_c>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.aliothx.net/start/flutter/factory/security/codeguard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
