How to make apk Secure. Protecting from Decompile

后端 未结 7 1029
忘了有多久
忘了有多久 2020-11-28 19:12

I am developing an application that has SQLite database to store personal information that must be protected. What are some ways of protecting these personal data? An APK ca

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-28 19:27

    With Jellybean this has now become a possibility.

    $ openssl enc -aes-128-cbc -K 000102030405060708090A0B0C0D0E0F 
    -iv 000102030405060708090A0B0C0D0E0F -in my-app.apk -out my-app-enc.apk
    
    $ adb install --algo 'AES/CBC/PKCS5Padding' --key 000102030405060708090A0B0C0D0E0F 
    --iv 000102030405060708090A0B0C0D0E0F my-app-enc.apk
            pkg: /data/local/tmp/my-app-enc.apk
    Success
    

    Please read the following blog post for further details

提交回复
热议问题