0

I have used SQLCipher for encrypting my database and put it in assests folder and successfully move it to database directory at run time. I can access encrypted database from Java code, but my application is in HTML5 JavaScript. So my question is How we can access encrypted database from HTML5 JavaScript.

Note: I have used JavaScript interface not PhoneGap.

Jaiprakash Soni
  • 4,100
  • 5
  • 36
  • 67
  • This would not be possible without native sqlcipher support in the browser. – Stephen Lombardo Aug 22 '13 at 19:47
  • @StephenLombardo thanks for your time... any example or tutorial for it ? – Jaiprakash Soni Aug 23 '13 at 04:06
  • To clarify, I'm saying that I don't think this is possible in standard javascript. Browsers do not bundle SQLCipher, and since you can't modify them it won't work. Cordova is a special case because they link and provide SQLCipher as part of the package. – Stephen Lombardo Aug 23 '13 at 12:35

0 Answers0