ORM for SQLite with data encryption.
Supported Xamarin platforms:
- Windows Phone 8.1
- Win 8
1. Just add [CryptoTable("TableName")] attribute to your class definition (Table) and [Encrypted] attribute to properties in your class that you want to be stored in a database file in encrypted view.
2. Generate your own personal encryption key, and pass it to CryptoSQLite library.
3. CryptoSQLite will encrypt all properties that have '[Encrypted]' attribute automatically when you are adding (updating) elements to your Table and decrypt all [Encrypted] properties when you are getting elements from a Table in the database file.
In 2.1.5 version a perfomance of library has been inproved by using compiled expressions, instead of reflection. Obsolete functions have been removed from iterface.
Warning In 2.1.6 version bug fixed, connected with solt generation for crypto algorithms, so this version won't be able to decrypt databases created using earlier versions of CryptoSQLite library. Sorry, this won't happen again.
See the version list below for details.
Install-Package CryptoSQLite.ORM -Version 2.1.6
dotnet add package CryptoSQLite.ORM --version 2.1.6
<PackageReference Include="CryptoSQLite.ORM" Version="2.1.6" />
paket add CryptoSQLite.ORM --version 2.1.6
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.