I am trying to use Sugar ORM and its extension to encrypt a database. I am currently specifying a key for encryption using the manifest meta tag:
<meta-data
android:name="ENCRYPTION_KEY"
android:value="<key>" />
Is this a safe way to store a key because I store it in a manifest? If not, can I somehow install it programmatically from within the application?
EDIT: I tried this guide, but it does not work, the database is not encrypted.
source
share