How do I encrypt the database when using Room?

We would like to use Room in an application we are developing, but we need to encrypt the database. I know that SQLCipher was used to encrypt the SQL database (although I never used it), but I think it does not support API level 16 and above, so I believe Room is not supported. On the other hand, there is Realm that supports encryption, but I'd really like to use Room instead. How can we encrypt the database?

Thank you so much

+3


source to share


1 answer


I think it does not support API level 16 and above, so I think Room is not supported



Ok, so far my CWAC-SafeRoom library holds up, although testing on it hasn't been covered yet. He will get more training in the coming months.

+6


source







All Articles