Android File Cryptography

后端 未结 3 1442
一整个雨季
一整个雨季 2021-02-06 19:03

How to make encryption and decryption on an application\'s files in sd-card? so that i may secure the files on the sdcard and no other person will be able to access outside of

3条回答
  •  后悔当初
    2021-02-06 19:38

    You can simply encrypt the contents of the file while writing it to the file and then while retrieving decrypt it. SIMPLE EXAMPLE : link provided shows an example code for encrypt/Decrypt a string. Hope it helps

提交回复
热议问题