OpenSSL.NET (openssl-net)



A managed OpenSSL wrapper written in C# for the 2.0 .NET Framework that exposes both the Crypto API and the SSL API.

This a must for .NET developers that need crypto but don't want to use Microsoft's SSPI.

This wrapper is based on version 1.0.2a of libeay32.dll and ssleay32.dll.

Wrapper Example

  • 2019-06-08 21:11:18 解决了某些电脑ManagedOpenSSL初始化失败的问题(原理:改用BouncyCastle进行RSANoPadding加密)。 2019-05-15 16:40:57 解决了网易云返回文件类型大小写不同导致插件无法正确辨识mp3文件的问题。.
  • Hi, I'm developing an application using the 2015 API (Project automation and Translation memory). I'm using Visual Studio 2012 and have set the target.Net framework in the project to 4.5.2.

The following is a partial example to show the general pattern of wrapping onto the C API.

Take DSA and the following C prototypes:

I should probably do this but my CV1 doesn't show up until hopefully later this week. I don't know if they're gonna want to devote any bandwidth to me getting my current DK2 up and running in advance of the CV1 arrival. Please remember that export/import and/or use of strong cryptography software, providing cryptography hooks, or even just communicating technical details about cryptography software is illegal in some parts of the world.

Which gets wrapped as something akin to:


Make sure you have libeay32.dll and ssleay32.dll in the current working directory of your application or in your PATH.

In your .NET project, add a reference to the ManagedOpenSsl.dll assembly.


Take a look at the low-level C API documentation.


The OpenSSL libraries are distributed under the terms of the OpenSSL License & SSLeay License; this library and related code are released under the BSD license, see COPYING for more details.


This library is the product of many contributors, both directly, and indirectly, thanks to the great effort of the OpenSSL team. Thanks to all those that have contributed to this project - whether code, testing, support or anything else.


For security issues, please contact the maintainer directly prior to opening a public ticket. Security issues will receive prompt attention and be handled as quickly as possible.

Package Description

Managedopenssl C#

For projects that support PackageReference, copy this XML node into the project file to reference the package.
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

port of to netstandard

Show more


  • .NETStandard 2.0

    • No dependencies.

Used By

NuGet packages

This package is not used by any NuGet packages.


GitHub repositories


This package is not used by any popular GitHub repositories.

Version History


VersionDownloadsLast updated
1.0.0 2,224 1/25/2018