Safia Abdalla bdec803c73 Remove Blazor WASM SDK from repo (#29427) 5 лет назад
..
Abstractions 69600972f6 Enable nullable on DataProtection (#28583) 5 лет назад
Cryptography.Internal 69600972f6 Enable nullable on DataProtection (#28583) 5 лет назад
Cryptography.KeyDerivation 415875625c [release/5.0] Update API baseline files (#27653) 5 лет назад
DataProtection bdec803c73 Remove Blazor WASM SDK from repo (#29427) 5 лет назад
EntityFrameworkCore 2ceca7fb89 [master] Update dependencies from dotnet/efcore dotnet/runtime (#27845) 5 лет назад
Extensions f4d10f6ce4 Fix issue with cert being finalized in data protection test (#29097) 5 лет назад
StackExchangeRedis 415875625c [release/5.0] Update API baseline files (#27653) 5 лет назад
samples c4c6e25a06 Add missing doc files and cleanup nits (#22931) 5 лет назад
shared 4a7bf75e89 [master] Update dependencies from 3 repositories (#13548) 6 лет назад
.vsconfig f34033a415 Add .vsconfig files in root and beside slns 6 лет назад
CreateTestCert.ps1 e0bdbb59f7 Reorganize source code in src/DataProtection 7 лет назад
DataProtection.slnf c27dcc4b39 Move DataProtection tests to HostBuilder (#24254) 5 лет назад
NuGetPackageVerifier.json a35226131a Merge branch release/2.2 7 лет назад
Provision-AutoGenKeys.ps1 3eb0764fae Reorganize source code from aspnet/DataProtection into a subfolder 7 лет назад
README.md 0856153cfa Add readme for DataProtection (#27894) 5 лет назад
build.cmd 41ce223c1c Replace Internal.AspNetCore.Sdk with Microsoft.DotNet.Arcade.Sdk (#10674) 6 лет назад
build.sh c3beb1f9b1 build.cmd/sh changes (#5958) 7 лет назад
startvs.cmd 3117f43c33 Migrate to single sln file + slnf files (#23581) 5 лет назад

README.md

DataProtection

Data Protection APIs for protecting and unprotecting data. You can find documentation for Data Protection in the ASP.NET Core Documentation.

Description

The following contains a description of each sub-directory in the DataProtection directory.

  • Abstractions: Contains the source files for the main DataProtection interfaces like IDataProtector and IDataProtectionProvider
  • Cryptography.Internal: Contains the source files for cryptography infrastucture. Applications and libraries should not reference this package directly.
  • Cryptography.KeyDerivation: Contains the source files related to key derivation, i.e. PBKDF2
  • DataProtection: Contains the main implementation of DataProtection for ASP.NET Core to protect and unprotect data.
  • EntityFrameworkCore: Contains the implementation for storing data using EntityFrameworkCore
  • Extensions: Contains additional apis via extension methods.
  • StackExchangeRedis: Contains the implementation for storing data using StackExchange.Redis
  • samples: Contains a collection of sample apps
  • shared: Contains a collection of shared constants and helper methods/classes

Development Setup

Build

To build this specific project from source, follow the instructions on building a subset of the code.

Test

To run the tests for this project, run the tests on the command line in this directory.

More Information

For more information, see the ASP.NET Core README.

Community Maintained Data Protection Providers & Projects