Info
Version: | 3.0.2 |
Author(s): | Alexei Safonov |
Last Update: | Friday, August 23, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/Aleksey7151/CryptoSQLite |
NuGet Url: | https://www.nuget.org/packages/CryptoSQLite.ORM |
Install
Install-Package CryptoSQLite.ORM
dotnet add package CryptoSQLite.ORM
paket add CryptoSQLite.ORM
CryptoSQLite.ORM Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
- SQLitePCL.pretty.netstandard(>= 2.0.1)
- SQLitePCL.pretty.netstandard(>= 2.0.1)
- SQLitePCLRaw.bundle_green(>= 2.0.0)
- SQLitePCLRaw.core(>= 2.0.0)
- SQLitePCLRaw.lib.e_sqlite3.android(>= 2.0.0)
- SQLitePCL.pretty.netstandard(>= 2.0.1)
- SQLitePCLRaw.bundle_green(>= 2.0.0)
Tags
Supported Xamarin platforms:
- Android
- iOS
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.
Last updates:
In 3.0.2 version .NET Standard compatibility added and fixed minor issues.