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.7 version support of decimal numbers has been implemented. Decimal numbers have BLOB type in database file.
In 2.1.8 version 'COUNT', 'MAX', 'MIN', 'SUM', and 'AVG' SQLite functions has been implemented. In ForeignKey Attribute Constructor bool parameter: 'autoResolveReference' has been added, this parameter determines if referenced table must be automatically obtained from database when you are getting current table.
See the version list below for details.
Install-Package CryptoSQLite.ORM -Version 2.1.8
dotnet add package CryptoSQLite.ORM --version 2.1.8
<PackageReference Include="CryptoSQLite.ORM" Version="2.1.8" />
paket add CryptoSQLite.ORM --version 2.1.8
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.