Fondness.Cipher 1.0.0

.NET 6.0
Install-Package Fondness.Cipher -Version 1.0.0
dotnet add package Fondness.Cipher --version 1.0.0
<PackageReference Include="Fondness.Cipher" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fondness.Cipher --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Fondness.Cipher, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Fondness.Cipher as a Cake Addin
#addin nuget:?package=Fondness.Cipher&version=1.0.0

// Install Fondness.Cipher as a Cake Tool
#tool nuget:?package=Fondness.Cipher&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Cipher

a simple high-performance string encryption and decryption extension
using aes advance encryption standard behind the sence.

Usage

install this pakage using nuget package manager PM> install-package Fondness.Cipher you don't need any configuration on application just call the string extension method

string input = "Hello World!";
var encryptedValue = value.ToEncrypt();
var decryptValue = encryptedValue.ToDecrypt();

also you can provide your custom encryption key as following

string input = "Hello World!";
string encryptionKey = "abc123";
var encryptedValue = value.ToEncrypt(encryptionKey);
var decryptValue = encryptedValue.ToDecrypt(encryptionKey);

make sure you provide the same encryption key over encryption and decryption.

©Fondness Open Source.

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

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.0 137 5/12/2022