fm.Extensions.DataProtection 2.3.0

Makes using the Microsoft.AspNet.DataProtection package more convenient, especially when using IAuthenticatedEncryptor

Commonly used types:
AuthenticatedEncryptorExtensions
EncryptorEncoding
SecretKey

Examples:
SecretKey key = new SecretKey(new Secret(EncryptorEncoding.UTF8.GetBytes("Password")), this.GetRequiredService<IAuthenticatedEncryptorFactory>());
IAuthenticatedEncryptor encryptor = key.CreateEncryptor();

encryptor.DecryptToString(encryptor.Encrypt("Input", "AAD"), "AAD").ShouldBe("Input");

There is a newer version of this package available.
See the version list below for details.
Install-Package fm.Extensions.DataProtection -Version 2.3.0
dotnet add package fm.Extensions.DataProtection --version 2.3.0
<PackageReference Include="fm.Extensions.DataProtection" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add fm.Extensions.DataProtection --version 2.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: fm.Extensions.DataProtection, 2.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install fm.Extensions.DataProtection as a Cake Addin
#addin nuget:?package=fm.Extensions.DataProtection&version=2.3.0

// Install fm.Extensions.DataProtection as a Cake Tool
#tool nuget:?package=fm.Extensions.DataProtection&version=2.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Upgraded to Microsoft.AspNetCore.DataProtection 3.1.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 1,605 11/17/2020
2.3.0 6,129 1/4/2020
2.2.0 588 11/22/2019
2.0.0 1,257 10/9/2017
1.0.0 792 6/29/2016