DogmaSolutions.EntityFrameworkCore.Encryption
7.0.2353
dotnet add package DogmaSolutions.EntityFrameworkCore.Encryption --version 7.0.2353
NuGet\Install-Package DogmaSolutions.EntityFrameworkCore.Encryption -Version 7.0.2353
<PackageReference Include="DogmaSolutions.EntityFrameworkCore.Encryption" Version="7.0.2353" />
<PackageVersion Include="DogmaSolutions.EntityFrameworkCore.Encryption" Version="7.0.2353" />
<PackageReference Include="DogmaSolutions.EntityFrameworkCore.Encryption" />
paket add DogmaSolutions.EntityFrameworkCore.Encryption --version 7.0.2353
#r "nuget: DogmaSolutions.EntityFrameworkCore.Encryption, 7.0.2353"
#:package DogmaSolutions.EntityFrameworkCore.Encryption@7.0.2353
#addin nuget:?package=DogmaSolutions.EntityFrameworkCore.Encryption&version=7.0.2353
#tool nuget:?package=DogmaSolutions.EntityFrameworkCore.Encryption&version=7.0.2353
DogmaSolutions.EntityFrameworkCore.Encryption
Transparent column-level encryption for EF Core using AES-256.
Part of the Dogma Solutions "Foundation" project.
Features
- AES-256 encryption provider — encrypt and decrypt entity column values transparently using AES-256
- Clear text provider — no-op encryption provider for development and testing
- Not-implemented provider — placeholder provider that throws on use, for enforcing encryption configuration
- Configurable settings — configure encryption keys and parameters via options pattern
Supported Frameworks and Platforms
| Target | Notes |
|---|---|
| .NET 8.0 | LTS |
| .NET 9.0 | STS |
| .NET 10.0 | Current |
Runs on all platforms supported by .NET: Windows, Linux, and macOS.
Dependencies
This library builds on several other "Foundation" packages:
- DogmaSolutions.EntityFrameworkCore.Encryption.Abstractions — contracts for encryption providers
- DogmaSolutions.Reflection — reflection utilities for property discovery
- DogmaSolutions.Validation — argument validation guards
External dependencies: Microsoft.EntityFrameworkCore, Microsoft.Extensions.Hosting.Abstractions, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Options, System.Configuration.ConfigurationManager.
Installation
dotnet add package DogmaSolutions.EntityFrameworkCore.Encryption
License
See the "Foundation" repository for license details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- DogmaSolutions.EntityFrameworkCore.Encryption.Abstractions (>= 7.0.2353)
- DogmaSolutions.Reflection (>= 7.0.2353)
- DogmaSolutions.Validation (>= 7.0.2353)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- Microsoft.CodeAnalysis (>= 5.9.0)
- Microsoft.EntityFrameworkCore (>= 10.0.11)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Microsoft.Extensions.Options (>= 10.0.11)
- System.Configuration.ConfigurationManager (>= 6.0.2)
-
net8.0
- DogmaSolutions.EntityFrameworkCore.Encryption.Abstractions (>= 7.0.2353)
- DogmaSolutions.Reflection (>= 7.0.2353)
- DogmaSolutions.Validation (>= 7.0.2353)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- Microsoft.CodeAnalysis (>= 5.9.0)
- Microsoft.EntityFrameworkCore (>= 8.0.30)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- Microsoft.Extensions.Options (>= 8.0.2)
- System.Configuration.ConfigurationManager (>= 6.0.2)
-
net9.0
- DogmaSolutions.EntityFrameworkCore.Encryption.Abstractions (>= 7.0.2353)
- DogmaSolutions.Reflection (>= 7.0.2353)
- DogmaSolutions.Validation (>= 7.0.2353)
- Lindhart.Analyser.MissingAwaitWarning (>= 3.2.0)
- Microsoft.CodeAnalysis (>= 5.9.0)
- Microsoft.EntityFrameworkCore (>= 9.0.19)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.19)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.19)
- Microsoft.Extensions.Options (>= 9.0.19)
- System.Configuration.ConfigurationManager (>= 6.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.0.2353 | 73 | 9/8/2026 |
| 7.0.2056 | 89 | 9/6/2026 |
| 7.0.893 | 91 | 8/27/2026 |
| 6.1.350 | 134 | 4/15/2026 |
| 6.1.346 | 711 | 12/3/2025 |
| 6.1.345 | 443 | 11/20/2025 |
| 6.0.344 | 453 | 11/19/2025 |
| 6.0.343 | 447 | 11/19/2025 |
| 6.0.342 | 190 | 11/7/2025 |
| 6.0.341 | 177 | 11/7/2025 |
| 6.0.340 | 225 | 10/29/2025 |
| 6.0.337 | 183 | 10/17/2025 |
| 6.0.336 | 183 | 10/17/2025 |
| 5.1.337 | 175 | 11/7/2025 |
| 5.1.336 | 186 | 11/7/2025 |
| 5.1.335 | 230 | 10/29/2025 |
| 5.1.334 | 219 | 10/16/2025 |
| 5.0.335 | 219 | 10/29/2025 |
| 5.0.333 | 203 | 10/15/2025 |