AES 128bit. The American Encyption Standard recogninized by NIST (National Institute of Standards and Technology) The AES, aka Rijndael, is a cipher by two Belgian cryptographers, Joan Daemen and Vincent Rijmen. Rijndael follows the tradition of square ciphers (it is based on ideas similar to the Square cipher). NIST gave as its reasons for selecting Rijndael that it performs very well in hardware and software across a wide range of environments in all possible modes. It has excellent key setup time and has low memory requirements, in addition its operations are easy to defend against power and timing attacks.

Namespace: LLCryptoLib.Crypto
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
[SerializableAttribute]
public class StreamAES : StreamAlgorithm
Visual Basic
<SerializableAttribute> _
Public Class StreamAES _
	Inherits StreamAlgorithm
Visual C++
[SerializableAttribute]
public ref class StreamAES : public StreamAlgorithm

Examples

CopyC#
// Set encryption algorithm
IStreamAlgorithm encryptAlgo = new StreamAES();
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);

Inheritance Hierarchy

System..::..Object
  LLCryptoLib.Crypto..::..StreamAlgorithm
    LLCryptoLib.Crypto..::..StreamAES
      LLCryptoLib.Crypto..::..StreamAES192
      LLCryptoLib.Crypto..::..StreamAES256

See Also