How can I encrypt my data?
As far as the solutions I study there are two ways:
- Encrypt data using an algorithm provided by android. I use "Cipher" is provided by android to encrypt my data. But I'm having problems retrieving data with large number of records, making the app's performance significantly reduced.
- I coded the whole database and then every session I decoded and saved in the cache but no algorithm was found to solve this.
I use the following for encrypting/decrypting at a column level, i.e. it is only applied to the sensitive data.
Example usage (encryption) :-
Example Usage (decryption)
Note! NOUSER is when a single user of the App decides to not use a password/login.