Introduction
:rocket: 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
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:
- 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
Contributing
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.
How to contribute:
Here is a link to learn how to contribute if you are not aware of how to do it.