title: How Should I Secure a SQLite Database in iOS?
body: <p>I'm developing a healthcare iOS app.  I'd like my users' data to be encrypted so if their iPhone is stolen, the thief won't be able to access their health info.  The rightful owner SHOULD be able to access their information (so different than <a href="https://stackoverflow.com/questions/929744/encrypting-sqlite-database-file-in-iphone-os">this question</a>).</p>
  
  <p>I'm considering using <a href="https://github.com/sjlombardo/sqlcipher" rel="nofollow noreferrer">SQLCipher</a> to encrypt the entire DB, and putting the SQLCipher password in Keychain.</p>
  
  <p>Is this a good technique?</p>
  
  <p>Also, do I understand correctly that--since everything is on the device--a determined hacker will be able to break in no matter what?</p>