Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imlk0/dicfactory

Proguard Dic File DIY Factory!!
https://github.com/imlk0/dicfactory

Last synced: 12 days ago
JSON representation

Proguard Dic File DIY Factory!!

Awesome Lists containing this project

README

        

# ProguardDicFactory

```
/**
*
* @param sourceStr 源字典字符集合
* @param dicLength 生成的字典的词条数目
* @param lengthOfEachString 每一条词条长度
* @param outFilePath 输出文件路径
*/
```
**sample:**

```
DicFactory.generatDic(sourceStr, dicLength, lengthOfEachString, outFilePath);
```

**Usage:**

copy outPut file to Android Studio project's `app` dir
add the follows to `proguard-rules.pro`

```
-classobfuscationdictionary dic.txt
-packageobfuscationdictionary dic.txt
-obfuscationdictionary dic.txt
```

**Then**
```
0oOoOOO
00ooO0o
0o0ooo0
00ooo0o
oOOO00o
0O0O0O0
...
```