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.
<PackageVersion Include="NextLevel.Security" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="NextLevel.Security" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#:package NextLevel.Security@1.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NextLevel.Security&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=NextLevel.Security&version=1.0.7
                    
Install as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 3,230 3/8/2024
1.0.8 267 3/5/2024
1.0.7 468 3/5/2024