HaemmerElectronics.SeppPenner.AESCryptoLib 1.2.4

Prefix Reserved
dotnet add package HaemmerElectronics.SeppPenner.AESCryptoLib --version 1.2.4
                    
NuGet\Install-Package HaemmerElectronics.SeppPenner.AESCryptoLib -Version 1.2.4
                    
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="HaemmerElectronics.SeppPenner.AESCryptoLib" Version="1.2.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HaemmerElectronics.SeppPenner.AESCryptoLib" Version="1.2.4" />
                    
Directory.Packages.props
<PackageReference Include="HaemmerElectronics.SeppPenner.AESCryptoLib" />
                    
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 HaemmerElectronics.SeppPenner.AESCryptoLib --version 1.2.4
                    
#r "nuget: HaemmerElectronics.SeppPenner.AESCryptoLib, 1.2.4"
                    
#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 HaemmerElectronics.SeppPenner.AESCryptoLib@1.2.4
                    
#: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=HaemmerElectronics.SeppPenner.AESCryptoLib&version=1.2.4
                    
Install as a Cake Addin
#tool nuget:?package=HaemmerElectronics.SeppPenner.AESCryptoLib&version=1.2.4
                    
Install as a Cake Tool

AESCryptoLib

AESCryptoLib is an assembly/ library to encrypt strings with AES.

Build status GitHub issues GitHub forks GitHub stars License: MIT Nuget NuGet Downloads Known Vulnerabilities Gitter Blogger Patreon PayPal

Available for

  • Net 10.0
  • Net 11.0

Net Core and Net Framework latest and LTS versions

Basic usage

public void Test()
{
    ICrypter cryptor = new Crypter();
    string salt = cryptor.GetRandomSalt();
    string encrypted = cryptor.Encrypt(AesKeySize.Strong, "Test", "Password", salt, 50000, HashAlgorithmName.SHA256);
    string decrypted = cryptor.Decrypt(AesKeySize.Strong, encrypted, "Password", salt, 50000, HashAlgorithmName.SHA256);
}

Store the salt value next to the encrypted data and use a new one for every secret: the key and the initialization vector are both derived from the password and the salt value, so the same pair always produces the same result.

The project can be found on nuget.

Install

dotnet add package HaemmerElectronics.SeppPenner.AESCryptoLib

Change history

See the Changelog.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net11.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.2.4 103 11/24/2026
1.2.3 173 8/10/2026
1.2.2 349 11/24/2024
1.2.1 245 12/7/2023
1.2.0 276 11/21/2023
1.1.10 142 11/16/2023
1.1.9 260 11/13/2023
1.1.8 561 11/10/2022
1.1.7 507 11/10/2022
1.1.6 566 10/30/2022
1.1.5 664 2/9/2022
1.1.4 578 11/9/2021
1.1.3 541 8/9/2021
1.1.2 590 7/25/2021
1.1.1 616 2/21/2021
1.0.9 773 6/5/2020
1.0.8 833 11/8/2019
1.0.6 811 10/28/2019
1.0.5 902 6/23/2019
1.0.0.4 873 5/5/2019
Loading failed

Version 1.2.4.0 (2026-11-24): Removed support for Net8.0 as it is out of support, added support for Net11.0, updated NuGet packages.