Encrypt SQLite database in C#

I recommend using the System.Data.Sqlite wrapper, which includes encryption. It works great, it’s easy to use, and it’s a complete ADO.Net implementation. You can get the wrapper from https://system.data.sqlite.org, and the developer describes how to use the encryption on this forum at: https://web.archive.org/web/20100207030625/http://sqlite.phxsoftware.com/forums/t/130.aspx. Hint – you just set the password property. He also describes how he does the encryption using the Microsoft Crypto API elsewhere in the forum.

Leave a Comment