Data Protection APIs for protecting and unprotecting data. You can find documentation for Data Protection in the ASP.NET Core Documentation.
The following contains a description of each sub-directory in the DataProtection directory.
Abstractions: Contains the source files for the main DataProtection interfaces likeIDataProtectorandIDataProtectionProviderCryptography.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. PBKDF2DataProtection: Contains the main implementation of DataProtection for ASP.NET Core to protect and unprotect data.EntityFrameworkCore: Contains the implementation for storing data using EntityFrameworkCoreExtensions: Contains additional apis via extension methods.StackExchangeRedis: Contains the implementation for storing data using StackExchange.Redissamples: Contains a collection of sample appsshared: Contains a collection of shared constants and helper methods/classes
To build this specific project from source, follow the instructions on building a subset of the code.
To run the tests for this project, run the tests on the command line in this directory.
For more information, see the ASP.NET Core README.