Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Store SQLcipher password locally

I'm working on an application which uses SQLcipher and it's offline, So its not possible for me to fetch Key from server to communicate with encrypted database.I have to store it securely somewhere within the device. One solution would be to store key in preference but if the phone is rooted on can gain access to these folders. Data used in application are highly confidential and I cannot let that get accessed. Would be great if you recommend things to sort this case. Thanks in advance.

like image 350
Arunkarthick Nallasami Avatar asked Feb 15 '16 06:02

Arunkarthick Nallasami


1 Answers

You can use conceal library by facebook for the same.

https://facebook.github.io/conceal/

like image 50
Pravin Divraniya Avatar answered Oct 13 '22 00:10

Pravin Divraniya