/EasyEncrypt

Wrapper around the .net SymmetricAlgorithm class to make encrypting strings, arrays, streams and files simple.

Primary LanguageC#MIT LicenseMIT

EasyEncrypt


Wrapper around the SymmetricAlgorithm class that makes encrypting strings, arrays, streams and files simple

// Create encrypter with default algorithm (AES) and generate a new random key
var encrypter = new EasyEncrypt();
            
// Encrypt and decrypt a string
var encryptedString = encrypter.Encrypt("Example data");
var decryptedString = encrypter.Decrypt(encryptedString);

//! See EasyEncrypt.Examples for more