CryptSharp.Modern 2.2.0

dotnet add package CryptSharp.Modern --version 2.2.0
                    
NuGet\Install-Package CryptSharp.Modern -Version 2.2.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="CryptSharp.Modern" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CryptSharp.Modern" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="CryptSharp.Modern" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CryptSharp.Modern --version 2.2.0
                    
#r "nuget: CryptSharp.Modern, 2.2.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.
#:package CryptSharp.Modern@2.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CryptSharp.Modern&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=CryptSharp.Modern&version=2.2.0
                    
Install as a Cake Tool

CryptSharp - Modern .NET Fork

A modernized fork of CryptSharp with multi-targeting support for .NET Framework 4.8, .NET 6.0, .NET 8.0, and .NET 10.0.

Target Frameworks

  • .NET Framework 4.8
  • .NET 6.0
  • .NET 8.0
  • .NET 10.0

Building

dotnet build CryptSharp\CryptSharp.csproj -c Release
dotnet pack CryptSharp\CryptSharp.csproj -c Release

The NuGet package will be created at: CryptSharp\bin\Release\CryptSharp.Modern.2.2.0.nupkg

Using the Package

Option 1: Local NuGet Source

# Add local package source (one-time) - replace with your actual path
dotnet nuget add source "C:\path\to\CryptSharp\CryptSharp\bin\Release" --name "CryptSharp-Local"

# In your project
dotnet add package CryptSharp.Modern --version 2.2.0 --source "CryptSharp-Local"

Option 2: Direct Package Reference

Add to your .csproj file:

<ItemGroup>
  <PackageReference Include="CryptSharp.Modern" Version="2.2.0" />
</ItemGroup>

Then create a nuget.config in your solution directory:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="CryptSharp-Local" value="C:\path\to\CryptSharp\CryptSharp\bin\Release" />
  </packageSources>
</configuration>

Replace C:\path\to\CryptSharp with the actual path to this repository on your machine.

What's New in 2.2.0

  • Converted to modern SDK-style project format
  • Multi-targeting support for .NET 6.0, .NET 8.0, and .NET 10.0
  • Eliminates NU1701 compatibility warnings when used with modern .NET
  • 100% API compatible with original CryptSharp 2.1.0

License

BSD-2-Clause (same as original CryptSharp)

Original Project

Based on CryptSharp by James F. Bellinger
http://www.zer7.com/software/cryptsharp

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net10.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

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
2.2.0 588 11/29/2025

Version 2.2.0: Modernized fork with support for .NET 6.0, .NET 8.0, and .NET 10.0 while maintaining .NET Framework 4.8 compatibility.