🚀 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
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"
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.