HaemmerElectronics.SeppPenner.AESCryptoLib
1.2.3
Prefix Reserved
dotnet add package HaemmerElectronics.SeppPenner.AESCryptoLib --version 1.2.3
NuGet\Install-Package HaemmerElectronics.SeppPenner.AESCryptoLib -Version 1.2.3
<PackageReference Include="HaemmerElectronics.SeppPenner.AESCryptoLib" Version="1.2.3" />
<PackageVersion Include="HaemmerElectronics.SeppPenner.AESCryptoLib" Version="1.2.3" />
<PackageReference Include="HaemmerElectronics.SeppPenner.AESCryptoLib" />
paket add HaemmerElectronics.SeppPenner.AESCryptoLib --version 1.2.3
#r "nuget: HaemmerElectronics.SeppPenner.AESCryptoLib, 1.2.3"
#:package HaemmerElectronics.SeppPenner.AESCryptoLib@1.2.3
#addin nuget:?package=HaemmerElectronics.SeppPenner.AESCryptoLib&version=1.2.3
#tool nuget:?package=HaemmerElectronics.SeppPenner.AESCryptoLib&version=1.2.3
AESCryptoLib
AESCryptoLib is an assembly/ library to encrypt strings with AES.
Available for
- Net 8.0
- Net 10.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 | Versions 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 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. |
-
net10.0
- No dependencies.
-
net8.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.3 | 57 | 8/10/2026 |
| 1.2.2 | 315 | 11/24/2024 |
| 1.2.1 | 225 | 12/7/2023 |
| 1.2.0 | 252 | 11/21/2023 |
| 1.1.10 | 126 | 11/16/2023 |
| 1.1.9 | 234 | 11/13/2023 |
| 1.1.8 | 534 | 11/10/2022 |
| 1.1.7 | 479 | 11/10/2022 |
| 1.1.6 | 542 | 10/30/2022 |
| 1.1.5 | 637 | 2/9/2022 |
| 1.1.4 | 554 | 11/9/2021 |
| 1.1.3 | 519 | 8/9/2021 |
| 1.1.2 | 565 | 7/25/2021 |
| 1.1.1 | 598 | 2/21/2021 |
| 1.0.9 | 747 | 6/5/2020 |
| 1.0.8 | 804 | 11/8/2019 |
| 1.0.6 | 782 | 10/28/2019 |
| 1.0.5 | 875 | 6/23/2019 |
| 1.0.0.4 | 844 | 5/5/2019 |
| 1.0.0.3 | 1,629 | 3/15/2018 |
Version 1.2.3.0 (2026-08-10): Fixed GetRandomSalt always returning an empty string, replaced the obsolete Rfc2898DeriveBytes constructor, fixed the undisposed crypto objects, added unit tests, removed support for Net9.0, added support for Net10.0, updated NuGet packages.