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
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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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 2,552 8/30/2022
3.0.0 1,509 5/10/2022
2.3.3 59,890 8/12/2021
2.3.2 3,175 5/6/2021
2.3.1 3,840 2/22/2021
2.3.0 808 2/19/2021
2.2.2 52,646 8/14/2020
2.2.1 1,617 7/30/2020
2.2.0 8,345 4/28/2020
2.1.0 5,047 4/8/2020
2.0.0 946 4/7/2020
2.0.0-alpha07 635 4/1/2020
2.0.0-alpha06 862 4/2/2019
2.0.0-alpha05 884 2/12/2019
2.0.0-alpha04 865 2/7/2019
2.0.0-alpha03 860 2/6/2019
2.0.0-alpha02 801 1/10/2019
2.0.0-alpha01 816 1/8/2019
1.0.5 12,724 2/4/2020
1.0.4 180,032 8/22/2018
1.0.3 1,357 6/28/2018
1.0.2 60,519 4/30/2018
1.0.1 1,455 4/6/2018
1.0.0 2,038 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.