NextLevel.Security 1.0.7

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

// Install NextLevel.Security as a Cake Tool
#tool nuget:?package=NextLevel.Security&version=1.0.7                

CryptoUtils

CryptoUtils is a lightweight and easy-to-use cryptographic library for .NET applications, offering robust encryption and decryption functionality using the Advanced Encryption Standard (AES) algorithm.

Key Features

  • Secure Encryption: Utilize AES encryption to safeguard sensitive data with industry-standard cryptographic techniques.

  • Simple Integration: Seamlessly integrate encryption and decryption capabilities into your .NET projects with straightforward APIs and minimal setup.

  • 128-Bit Key Support: Encrypt and decrypt data using a 128-bit encryption key, ensuring strong security for your application's sensitive information.

  • HiddenString: HiddenString is a class provided by CryptoUtils for securely storing and manipulating strings in memory. It keeps the string in encrypted form using a SecureString.

Installation

Install the CryptoUtils package via NuGet Package Manager:

  • Install-Package CryptoUtils

Usage

Encrypt Data

Encrypt sensitive data before storage or transmission to protect it from unauthorized access:

string encryptedData = CryptoService.Encrypt("yourPlainTextData", "yourEncryptionKey");

Decrypt Data

Decrypt encrypted data to retrieve the original plaintext:

string decryptedData = CryptoService.Decrypt("yourEncryptedData", "yourEncryptionKey");

HiddenString

var hiddenString = new HiddenString("yourSecretText");

hiddenString.Append("additionalText");

string plainText = hiddenString.ToString();

License

This project is licensed under the MIT License.

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 (1)

Showing the top 1 NuGet packages that depend on NextLevel.Security:

Package Downloads
NextLevel.DBContext

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.9 243 3/8/2024
1.0.8 184 3/5/2024
1.0.7 259 3/5/2024