fm.Extensions.DataProtection 4.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package fm.Extensions.DataProtection --version 4.0.0                
NuGet\Install-Package fm.Extensions.DataProtection -Version 4.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="fm.Extensions.DataProtection" Version="4.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add fm.Extensions.DataProtection --version 4.0.0                
#r "nuget: fm.Extensions.DataProtection, 4.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=4.0.0

// Install fm.Extensions.DataProtection as a Cake Tool
#tool nuget:?package=fm.Extensions.DataProtection&version=4.0.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");

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
6.0.0 69 11/15/2024
5.0.2 75 10/22/2024
5.0.1 139 5/15/2024
5.0.0 139 3/27/2024
4.0.0 324 3/4/2023
3.2.0 427 10/10/2022
3.1.0 1,208 11/11/2021
3.0.0 5,036 11/17/2020
2.3.0 6,605 1/4/2020
2.2.0 956 11/22/2019
2.0.0 1,701 10/9/2017
1.0.0 1,370 6/29/2016

BREAKING: Target .NET 7