🚀 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.
You can install the CryptoNet NuGet package via NuGet.
https://maythamfahmi.github.io/CryptoNet
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.
Please report issues here.
Ref to docs.
You have different options to build and run the unit tests from:
- Visual Studio 2019/2022.
- Visual Studio Code.
- dotnet command line.
- dotnet commands are preserved in a PowerShell script
build.ps1
. - Docker, run the following command from the solution folder:
docker build . --file .\Dockerfile --tag cryptonet-service:latest
Preview
.\Release.ps1 -VersionNumber 3.0.0 -IsPreview $true
Release
.\Release.ps1 -VersionNumber 3.0.0 -IsPreview $false
You are more than welcome to contribute in one of the following ways:
- Basic: Give input, and suggestions for improvement by creating an issue and labeling it https://github.com/maythamfahmi/CryptoNet/issues
- 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.
- Documentation: Add, update, or improve documentation, by making a pull request.
Here is a link to learn how to contribute if you are not aware of how to do it.