CipherCracker.ClassLibrary 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package CipherCracker.ClassLibrary --version 1.0.0                
NuGet\Install-Package CipherCracker.ClassLibrary -Version 1.0.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="CipherCracker.ClassLibrary" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CipherCracker.ClassLibrary --version 1.0.0                
#r "nuget: CipherCracker.ClassLibrary, 1.0.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 CipherCracker.ClassLibrary as a Cake Addin
#addin nuget:?package=CipherCracker.ClassLibrary&version=1.0.0

// Install CipherCracker.ClassLibrary as a Cake Tool
#tool nuget:?package=CipherCracker.ClassLibrary&version=1.0.0                

CipherCracker

CipherCracker is a dotnet 8 library that implements common encryption and decryption algorithms.

Installation

You can install CipherCracker via NuGet package manager:

dotnet add package CipherCracker

Usage

You can reference the CipherCracker.ClassLibrary namespace in your code, initiate different cryptography manager class to perform encryption and decryption operations. For example:

var aesKeyBytes = CryptoUtils.GenerateRandomBytes(32);    //AES-256-GCM
var aesGcmManager = new AesGcmManager(aesKeyBytes);

var plainText = "Inhale confidence, exhale doubt.";
var ivBytes = CryptoUtils.GenerateIvBytes();

var encryptedContentBytes = aesGcmManager.Encrypt(Encoding.UTF8.GetBytes(plainText), ivBytes);

var decryptedContentBytes = aesGcmManager.Decrypt(encryptedContentBytes, ivBytes);

Supported algorithms

CipherCracker currently supports the following encryption and decryption algorithms:

  • AES (GCM only)

Contribution

Any suggestions or feedback are welcome, or you can submit a pull request to improve the code.

License

CipherCracker uses the MIT license, please see the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
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.0.2 152 4/17/2024
1.0.2-alpha 91 4/17/2024
1.0.1-alpha 99 2/27/2024
1.0.0 152 2/27/2024