-1

i developed an app in android wich use a database to save and load data at start. My question is: was it encrypt by default? if not, how can i encrypt my database file in order to make it more secure?

Robert
  • 39,162
  • 17
  • 99
  • 152
xXJohnRamboXx
  • 739
  • 3
  • 10
  • 24
  • I assume that you are referring to an SQLite database, right? – Robert Jan 14 '15 at 14:44
  • possible duplicate of [Android database encryption](http://stackoverflow.com/questions/2203987/android-database-encryption) – Simon Jan 14 '15 at 15:43

1 Answers1

1

was it encrypt by default?

No.

how can i encrypt my database file in order to make it more secure?

Use SQLCipher for Android and a user-supplied passphrase.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • i don't understand how it works..can you help me please? – xXJohnRamboXx Jan 14 '15 at 15:26
  • @xXJohnRamboXx: That is too broad for Stack Overflow. I have a whole book chapter on using SQLCipher for Android. You are welcome to review [these webinar slides](https://commonsware.com/webinars/sqlCipher) of mine, and there are probably other blog posts and online resources that you can find via a search engine. If you have a more specific concern, ask a fresh Stack Overflow question. – CommonsWare Jan 14 '15 at 15:29