SafeCrypt.Data.Security 1.2.0

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

// Install SafeCrypt.Data.Security as a Cake Tool
#tool nuget:?package=SafeCrypt.Data.Security&version=1.2.0

SafeCrypt Library

A C# library for encryption and decryption.

Overview

The SafeCrypt 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.

Table of Contents

Installation

To use the SafeCrypt library in your C# project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/selfmadecode/SafeCrypt
    cd SafeCrypt
    
  2. Build the project:

    dotnet build
    

Now, you can reference the SafeCrypt library in your C# project.

Aes

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.

Rsa

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.

Contributing

If you would like to contribute to the development of the SafeCrypt library, follow these steps:

  1. Create an issue to discuss the proposed changes or bug fixes.

  2. Fork the repository and create a new branch for your work:

    git checkout -b feature/my-feature
    
  3. Make your changes and commit them with clear and concise messages.

  4. Push your changes to your fork.

  5. Create a pull request from your branch to the main repository.

  6. Ensure that your pull request follows the contribution guidelines and includes necessary tests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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.

Version Downloads Last updated
1.2.0 109 3/5/2024
1.0.2 93 2/2/2024
1.0.1 146 12/17/2023
1.0.0 95 12/15/2023

Release Note - Version 1.2.0

We are excited to announce the latest version of SafeCrypt (v1.2.0), bringing a new feature, improvements, and bug fixes to enhance your experience with our encryption library.

What's New:

Aes Class Renamed:
We renamed the AesEncryption and AesDecryption class to Aes, and consolidate all encrypting and decrypting methods within this single static class. This means you can now directly access the class without the need for instantiation.

Introduction of RSACryptoServiceProvider Algorithm:
We have introduced the RSACryptoServiceProvider algorithm, allowing users to choose the encryption method that best suits their specific requirements.

Bug Fixes for Aes:
We have addressed and resolved several bugs in the Aes implementation.

Upgrade Command:
dotnet add package SafeCrypt --version 1.2.0

Feedback and Contributions:
We appreciate your feedback and contributions! If you encounter any issues or have suggestions, please create an issue on GitHub: https://github.com/selfmadecode/SafeCrypt/issues

Thank you for using the SafeCrypt Library!