Skip to content

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

License

Notifications You must be signed in to change notification settings

SeppPenner/AESCryptoLib

Repository files navigation

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 6.0
  • Net 8.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);
}

The project can be found on nuget.

Install

dotnet add package HaemmerElectronics.SeppPenner.AESCryptoLib

Change history

See the Changelog.

About

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

Topics

Resources

License

Stars

Watchers

Forks