RockLib.Encryption 2.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Standard 2.0 .NET Framework 4.5.1
There is a newer version of this package available.
See the version list below for details.
dotnet add package RockLib.Encryption --version 2.0.0
NuGet\Install-Package RockLib.Encryption -Version 2.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="RockLib.Encryption" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RockLib.Encryption --version 2.0.0
#r "nuget: RockLib.Encryption, 2.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 RockLib.Encryption as a Cake Addin
#addin nuget:?package=RockLib.Encryption&version=2.0.0

// Install RockLib.Encryption as a Cake Tool
#tool nuget:?package=RockLib.Encryption&version=2.0.0

An easy-to-use crypto API.

This package was built from the source code at https://github.com/RockLib/RockLib.Encryption/tree/b9d9d8386071e40e2f0e3f716b675ca8262ca5a6

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RockLib.Encryption:

Package Downloads
RockLib.Encryption.XSerializer The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Extension to RockLib.Encryption - allows properties marked with the [Encrypt] attribute to be encrypted during an XSerializer serialization operation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.0 1,153 8/30/2022
3.0.0 1,096 5/10/2022
2.3.3 34,644 8/12/2021
2.3.2 2,781 5/6/2021
2.3.1 3,461 2/22/2021
2.3.0 400 2/19/2021
2.2.2 52,187 8/14/2020
2.2.1 1,239 7/30/2020
2.2.0 7,930 4/28/2020
2.1.0 4,684 4/8/2020
2.0.0 535 4/7/2020
2.0.0-alpha07 314 4/1/2020
2.0.0-alpha06 523 4/2/2019
2.0.0-alpha05 539 2/12/2019
2.0.0-alpha04 550 2/7/2019
2.0.0-alpha03 538 2/6/2019
2.0.0-alpha02 502 1/10/2019
2.0.0-alpha01 502 1/8/2019
1.0.5 12,105 2/4/2020
1.0.4 179,580 8/22/2018
1.0.3 942 6/28/2018
1.0.2 60,088 4/30/2018
1.0.1 1,061 4/6/2018
1.0.0 1,646 12/18/2017

RockLib.Encryption version 2.0.0

- Changes the object parameter named `keyIdentifier`, found in many classes and methods, to be of type string and named `credentialName`.
- Configuration for the `SymmetricCrypto` class is flattened.
- Removes the `CryptoConfiguration` classes in the `RockLib.Encryption.Symmetric` namespace.
- Replaces the `CredentialCache` class with `NamedCollection` from the RockLib.Collections package.
- `CredentialRepository` renamed to `InMemoryCredentialRepository` and refactored to use the `NamedCollection`.
- Removes the `RockLib.Encryption.Symmetric.ICredential` interface.
- Changes the type of the `key` parameter in the `Symmetric.Credential` class from `byte[]` to `Func<byte[]>`.
- Removes the `ICredentialInfo` interface.
- Makes `CancellationToken` parameters optional wherever possible.
- Adds field-level encryption extension methods for the `IAsyncCrypto` interface (not just `ICrypto`).
- Updates the RockLib.Configuration and RockLib.Configuration.ObjectFactory packages to the latest versions.
- Drops support for .NET Standard 1.6, adds support for .NET Framework 4.6.2.
- Adds support for rocklib_encryption config section.
- Adds ConfigSection attribute for the Rockifier tool.
- Adds dependency injection extensions for service collections.