CryptoNet 3.0.0-preview003

This is a prerelease version of CryptoNet.
There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 1.0.0 or higher.

dotnet add package CryptoNet --version 3.0.0-preview003                
NuGet\Install-Package CryptoNet -Version 3.0.0-preview003                
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="CryptoNet" Version="3.0.0-preview003" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CryptoNet --version 3.0.0-preview003                
#r "nuget: CryptoNet, 3.0.0-preview003"                
#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 CryptoNet as a Cake Addin
#addin nuget:?package=CryptoNet&version=3.0.0-preview003&prerelease

// Install CryptoNet as a Cake Tool
#tool nuget:?package=CryptoNet&version=3.0.0-preview003&prerelease                

Cryptonet

GitHub CryptoNet NuGet version Passing build workflow Generic badge Code Coverage Build status

Introduction

🚀 CryptoNet is simple, fast, and a lightweight asymmetric and symmetric encryption NuGet library supporting .NET Standard 2.0 and C# 8.0 for cross platforms Windows, Linux, and iOS. It is a 100% native C# implementation based on Microsoft cryptography. It does not depend on other libraries.

Installation

You can install the CryptoNet NuGet package via NuGet.

Website

https://maythamfahmi.github.io/CryptoNet

Versions

Nuget is latest version and are maintained.

List of features:

  • RSA asymmetric encryption.
  • AES symmetric encryption.
  • RSA PEM exporting and importing.
  • Support for X509Certificate2.
  • Ability to encrypt and decrypt text, and files like images, word, excel, etc.
  • Cross-platform compatible with Windows, Linux, and iOS.

Issues

Please report issues here.

How to use

Ref to docs.

Build and Testing

You have different options to build and run the unit tests from:

  1. Visual Studio 2019/2022.
  2. Visual Studio Code.
  3. dotnet command line.
  4. dotnet commands are preserved in a PowerShell script build.ps1.
  5. Docker, run the following command from the solution folder:
docker build . --file .\Dockerfile --tag cryptonet-service:latest

How to release a new version?

Preview

git tag -a "v3.0.0-preview002" -m "Release version 3.0.0-preview002"
git push origin "v3.0.0-preview002"

Release

git tag -a "v3.0.0" -m "Release version 3.0.0"
git push origin "v3.0.0"

Contributing

You are more than welcome to contribute in one of the following ways:

  1. Basic: Give input, and suggestions for improvement by creating an issue and labeling it https://github.com/maythamfahmi/CryptoNet/issues
  2. Advance: if you have good knowledge of C# and Cryptography just grab one of the issues, or features, or create a new one and refactor and add a pull request.
  3. Documentation: Add, update, or improve documentation, by making a pull request.

How to contribute:

Here is a link to learn how to contribute if you are not aware of how to do it.

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 net461 was computed.  net462 was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.