CipherCracker.ClassLibrary
1.0.0
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
<PackageReference Include="CipherCracker.ClassLibrary" Version="1.0.0" />
paket add CipherCracker.ClassLibrary --version 1.0.0
#r "nuget: CipherCracker.ClassLibrary, 1.0.0"
// 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 | Versions 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. |
-
net8.0
- Portable.BouncyCastle (>= 1.9.0)
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 | 156 | 4/17/2024 |
1.0.2-alpha | 93 | 4/17/2024 |
1.0.1-alpha | 101 | 2/27/2024 |
1.0.0 | 156 | 2/27/2024 |