CipherPunk 0.1.0

.NET 7.0
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CipherPunk --version 0.1.0
NuGet\Install-Package CipherPunk -Version 0.1.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="CipherPunk" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CipherPunk --version 0.1.0
#r "nuget: CipherPunk, 0.1.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 CipherPunk as a Cake Addin
#addin nuget:?package=CipherPunk&version=0.1.0

// Install CipherPunk as a Cake Tool
#tool nuget:?package=CipherPunk&version=0.1.0


Allows Windows Schannel CipherSuite and Elliptic Curve configuration. Inspired by IISCrypto


  • Supports SSL/TLS protocols from SSL2.0 to TLS1.3
  • Remote server probing
  • Cipher Suite configuration
  • Elliptic Curve configuration
  • Windows 7 to 11 & Windows Server 2008 R2 to 2022
  • Configuration using local Group Policy (IISCrypto style)
  • Configuration using Schannel API

Available as a standalone Windows application (UI) and as a NuGet package (API).

Note: not all applications use Schannel, most browsers for example require seperate configuration.


A Windows .NET WPF application for x86, x64 and ARM64.


A NuGet package to manage Windows Schannel.

Usage Examples

using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using CipherPunk;

// Register the CipherPunk services in the dependency container using AddCipherPunk()
using IHost host = Host.CreateDefaultBuilder(args)
    .ConfigureServices((_, services) => services.AddCipherPunk())

using IServiceScope serviceScope = host.Services.CreateScope();
ICipherSuiteService cipherSuiteService = serviceScope.ServiceProvider.GetRequiredService<ICipherSuiteService>();
IEllipticCurveService ellipticCurveService = serviceScope.ServiceProvider.GetRequiredService<IEllipticCurveService>();

// Retrieve the currently active cipher suites ordered by priority
List<WindowsApiCipherSuiteConfiguration> cipherSuites = cipherSuiteService.GetOperatingSystemActiveCipherSuiteList();
cipherSuites.ForEach(q => Console.WriteLine(q.CipherSuiteName));

// Retrieve the currently active elliptic curves ordered by priority
List<WindowsApiEllipticCurveConfiguration> ellipticCurves = ellipticCurveService.GetOperatingSystemActiveEllipticCurveList();
ellipticCurves.ForEach(q => Console.WriteLine(q.pwszName));

// Retrieve the default cipher suites ordered by priority for the current OS
List<WindowsDocumentationCipherSuiteConfiguration> defaultCipherSuites = cipherSuiteService.GetOperatingSystemDocumentationDefaultCipherSuiteList();
defaultCipherSuites.ForEach(q => Console.WriteLine(q.CipherSuite));

// Retrieve the default elliptic curves ordered by priority for the current OS
List<WindowsDocumentationEllipticCurveConfiguration> defaultEllipticCurves = ellipticCurveService.GetOperatingSystemDefaultEllipticCurveList();
defaultEllipticCurves.ForEach(q => Console.WriteLine(q.Name));

// Add a cipher suite

await host.RunAsync();
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. 
Compatible target framework(s)
Additional computed target framework(s)
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
0.2.0-alpha0201 31 5/29/2023
0.2.0-alpha0165 36 5/25/2023
0.2.0-alpha0130 46 5/1/2023
0.2.0-alpha0096 62 4/22/2023
0.2.0-alpha0063 53 4/15/2023
0.2.0-alpha0031 67 1/24/2023
0.1.0 245 11/18/2022
0.1.0-alpha0235 69 11/18/2022
0.1.0-alpha0176 71 10/29/2022
0.1.0-alpha0148 61 10/29/2022
0.1.0-alpha0121 62 10/29/2022
0.1.0-alpha0095 65 10/28/2022
0.1.0-alpha0070 64 10/28/2022
0.1.0-alpha0046 60 10/28/2022
0.1.0-alpha0030 66 11/18/2022
0.1.0-alpha0023 63 10/28/2022