fm.Extensions.DataProtection 5.0.0

dotnet add package fm.Extensions.DataProtection --version 5.0.0
NuGet\Install-Package fm.Extensions.DataProtection -Version 5.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="5.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 5.0.0
#r "nuget: fm.Extensions.DataProtection, 5.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=5.0.0

// Install fm.Extensions.DataProtection as a Cake Tool
#tool nuget:?package=fm.Extensions.DataProtection&version=5.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 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. 
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
5.0.0 92 3/27/2024
4.0.0 293 3/4/2023
3.2.0 399 10/10/2022
3.1.0 1,190 11/11/2021
3.0.0 4,997 11/17/2020
2.3.0 6,573 1/4/2020
2.2.0 938 11/22/2019
2.0.0 1,669 10/9/2017
1.0.0 1,335 6/29/2016

BREAKING: Target .NET 8