user940016
user940016

Reputation: 2948

Encrypting only specific tables / fields of an SQLite database

Is it possible?

I read about SQLCipher, but it seems to encrypt the whole database.

Is there a way to configure it to encrypt only specific parts of it?

A table or a field will do just fine.

Upvotes: 1

Views: 1630

Answers (2)

user940016
user940016

Reputation: 2948

In the end I didn't need to use SQLite or any other techniques for encryption, because I found out I don't have to store the app client's secret at all, just the ID which is public.

Upvotes: 1

scottyab
scottyab

Reputation: 24039

You could use expand the DBHelper and run certain queries through a simple encryption util like the one noted in this answer.

Or rip out the CrypoHelper from android-passwordsafe written by Steven Osborn.

Upvotes: 0

Related Questions