Create a new StreamAES256 object
Namespace: LLCryptoLib.CryptoAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static StreamAES256 AES256 { get; } |
Visual Basic |
---|
Public Shared ReadOnly Property AES256 As StreamAES256 Get |
Visual C++ |
---|
public: static property StreamAES256^ AES256 { StreamAES256^ get (); } |
Field Value
A 256 bit AES-Rijndael object
Examples
Stream Encryption with DES
CopyC#

// Set encryption algorithm IStreamAlgorithm encryptAlgo = StreamAlgorithmFactory.AES256; StreamCrypter encrypter = new StreamCrypter(encryptAlgo); // Set symmetric password encrypter.GenerateKeys("littlelitesoftware"); // Encrypt encrypter.EncryptDecrypt(rndFile.FullName, encryptedFile, true, null); Console.WriteLine("File encrypted into " + encryptedFile);