title: Compile System.Data.Sqlite With AES256
body: <p>I'm knee deep in compilation for sqlite, system.data.sqlite, and xerial's JDBC trying to get an encrypted sqlite file working through all three. From my understanding, <em>system.data.sqlite</em> uses RC4 encryption, and SQLCipher/Rijndael/wxSqlite can use AES256. </p>
  
  <p><a href="https://github.com/rindeal/SQLite3-Encryption" rel="nofollow noreferrer">Using this library</a>, one can easily compile Windows binaries for AES256 encryption.<br>
  <a href="https://github.com/Willena/sqlite-jdbc-crypt" rel="nofollow noreferrer">This library</a> offers <a href="https://github.com/xerial/sqlite-jdbc" rel="nofollow noreferrer">Xerial's JDBC</a> by incorporating <a href="https://github.com/utelle/wxsqlite3" rel="nofollow noreferrer">wxsqlite3's improvements</a>, which it looks like is actually based on the above (Rijndael's) library. </p>
  
  <p>Because the above two libraries are close to one-and-the-same, and use the same encryption, they have been compatible. I have a working Java project with the encryption-supporting JDBC, and I have a compiled sqlite3.dll and sqlite3shell.exe that allows me to use the command line to encrypt, read, write, etc databases. This sqlite dll and shell are compatible with the databases created with the JDBC.</p>
  
  <p>Where I'm a bit lost is getting <a href="https://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki" rel="nofollow noreferrer">system.data.sqlite</a> working with AES256. I need to use this library as it affords me the ability to use Entity Framework and LINQ. I had thought it would not be such an arduous task, but I've been ramming my head into a wall for the past few days on this issue. I have the encryption-ready sqlite3 dll, how do I merge this in with system.data.sqlite? </p>
  
  <p>Thanks so much for any help.</p>