A C# utility library for encryption and decryption.
This library provides a set of methods for encrypting and decrypting data using various encryption algorithms, including the Advanced Encryption Standard (AES) and RSA (Rivest–Shamir–Adleman). It is designed to be easy to use and can be integrated into C# applications that require secure data transmission or storage.
- Installation
- AES Encryption and Decryption usage
- RSA Encryption and Decryption usage
- Contributing
- License
To use this library in your C# project, follow these steps:
-
Clone the repository:
git clone https://github.com/selfmadecode/SafeKrypt.Data.Security
-
Build the project:
dotnet build
Now, you can reference the library in your C# project.
To use AES encryption in your C# application, access the static Aes class directly. Call the provided methods;
Check the Aes.md documentation for guidance.
This library provides a straightforward implementation of RSA encryption and decryption in C# using the .NET RSACryptoServiceProvider
.
It includes methods for generating RSA key pairs, encrypting data with a public key, and decrypting data with a private key.
For more details on RSA Encryption, check the Rsa.md document.
If you would like to contribute to the development of the library, follow these steps:
-
Create an issue to discuss the proposed changes or bug fixes.
-
Fork the repository and create a new branch for your work:
git checkout -b feature/my-feature
-
Make your changes and commit them with clear and concise messages.
-
Push your changes to your fork.
-
Create a pull request from your branch to the main repository.
-
Ensure that your pull request follows the contribution guidelines and includes necessary tests.
This project is licensed under the MIT License - see the LICENSE file for details.