Android File encryption
开发者_如何学JAVAHi I was wondering if anybody would know the best way to encrypt a file before I send it to the server and then how to unencrypt it once on the server? Files could be txt or jpg...I dont know much about encryption..thanks
You can check the developer documentation for Cipher here. That list should be sufficient for your needs. Also, check this question here for guidance on how to use the API.
It depends on the purpose of your encryption.
If you just want it to be sent securely, i.e. you want to secure the communication of the data, then just use an HTTPS API connection.
If you write your own encryption code in the app to encrypt on the device itself, someone can reverse-engineer the app, and use your code to write a decrypter, so it's never going to be very secure.
If your looking for an easy to use encryption program to protect your files try Sensiguard www.sensiguard.com Rated as the easiest to use product, you can encrypt your personal files easily and safely. fully integrated into windows explorer. Use the USB Vault software that comes with sensiguard to encrypt files that you can decrypt at location. (note for the vault you might need the microsoft c++ redistributables 2010
精彩评论