Skip to content

Fondness.Cipher v

Choose a tag to compare

@github-actions github-actions released this 27 Jun 11:26

馃殌 Fondness.Cipher v

馃摝 What's New

  • High-performance string encryption and decryption using AES encryption
  • Support for custom encryption keys
  • Multi-framework support (.NET 6.0, 7.0, 8.0, 9.0)
  • Simple extension methods for easy integration

馃敡 Technical Details

  • Algorithm: AES (Advanced Encryption Standard)
  • Key Derivation: PBKDF2 with custom salt
  • Output Format: Base64 encoded strings
  • Exception Handling: Proper error handling for invalid inputs

馃搵 Usage

using Fondness.Cipher;

// Basic usage with default key
string encrypted = "Hello World!".ToEncrypt();
string decrypted = encrypted.ToDecrypt();

// Custom encryption key
string customKey = "your-32-character-encryption-key";
string encrypted = "Secret".ToEncrypt(customKey);
string decrypted = encrypted.ToDecrypt(customKey);

馃摝 Installation

dotnet add package Fondness.Cipher

馃敆 Links


Full Changelog: https://github.com/etammam/cipher/commits/v

Full Changelog: https://github.com/etammam/cipher/commits/v