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.
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.
In 2.1.7 version support of decimal numbers has been implemented. Decimal numbers have BLOB type in database file.
See the version list below for details.
Install-Package CryptoSQLite.ORM -Version 2.1.7
dotnet add package CryptoSQLite.ORM --version 2.1.7
<PackageReference Include="CryptoSQLite.ORM" Version="2.1.7" />
paket add CryptoSQLite.ORM --version 2.1.7
#r "nuget: CryptoSQLite.ORM, 2.1.7"
// Install CryptoSQLite.ORM as a Cake Addin #addin nuget:?package=CryptoSQLite.ORM&version=2.1.7 // Install CryptoSQLite.ORM as a Cake Tool #tool nuget:?package=CryptoSQLite.ORM&version=2.1.7
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.