Sylloge
A C# helper library
Public Member Functions
Sylloge.Encryption.Aes.EncryptStream Class Reference

Encapsulates an encrypting AES binary stream used to write plain text data to the stream and get the encrypted values. More...

Inherits Sylloge.Encryption.BinaryStream.

List of all members.

Public Member Functions

 EncryptStream (string pass, byte[] salt)
 Create a default encryption stream using a specified password and binary salt array.
 EncryptStream (string pass, byte[] salt, CryptoStreamMode mode)
 Create a default encryption stream using a specified password and binary salt array.
 EncryptStream (string pass, byte[] salt, int blockSize, int keySize)
 Create a default encryption stream using a specified password and binary salt array.
 EncryptStream (string pass, byte[] salt, int blockSize, int keySize, CryptoStreamMode mode)
 Create a default encryption stream using a specified password and binary salt array.
 EncryptStream (byte[] key, byte[] iv)
 Create a default encryption stream using the specified byte key and initialization vector.
 EncryptStream (byte[] key, byte[] iv, CryptoStreamMode mode)
 Create a default encryption stream using the specified byte key and initialization vector.
 EncryptStream (byte[] key, byte[] iv, int blockSize, int keySize)
 Create a default encryption stream using the specified byte key and initialization vector.
 EncryptStream (byte[] key, byte[] iv, int blockSize, int keySize, CryptoStreamMode mode)
 Create a default encryption stream using the specified byte key and initialization vector.

Detailed Description

Encapsulates an encrypting AES binary stream used to write plain text data to the stream and get the encrypted values.

Definition at line 37 of file Aes.cs.


Constructor & Destructor Documentation

Sylloge.Encryption.Aes.EncryptStream.EncryptStream ( string  pass,
byte[]  salt 
)

Create a default encryption stream using a specified password and binary salt array.

Parameters:
passThe password used for encrypting data
saltThe salt data used to encrypt (must not be null)

Definition at line 44 of file Aes.cs.

Sylloge.Encryption.Aes.EncryptStream.EncryptStream ( string  pass,
byte[]  salt,
CryptoStreamMode  mode 
)

Create a default encryption stream using a specified password and binary salt array.

Parameters:
passThe password used for encrypting data
saltThe salt data used to encrypt (must not be null)
modeThe mode (read/write) to specify

Definition at line 54 of file Aes.cs.

Sylloge.Encryption.Aes.EncryptStream.EncryptStream ( string  pass,
byte[]  salt,
int  blockSize,
int  keySize 
)

Create a default encryption stream using a specified password and binary salt array.

Parameters:
passThe password used for encrypting data
saltThe salt data used to encrypt (must not be null)
blockSizeThe block size to set
keySizeThe key size to set

Definition at line 65 of file Aes.cs.

Sylloge.Encryption.Aes.EncryptStream.EncryptStream ( string  pass,
byte[]  salt,
int  blockSize,
int  keySize,
CryptoStreamMode  mode 
)

Create a default encryption stream using a specified password and binary salt array.

Parameters:
passThe password used for encrypting data
saltThe salt data used to encrypt (must not be null)
blockSizeThe block size to set
keySizeThe key size to set
modeThe mode (read/write) to specify

Definition at line 77 of file Aes.cs.

Sylloge.Encryption.Aes.EncryptStream.EncryptStream ( byte[]  key,
byte[]  iv 
)

Create a default encryption stream using the specified byte key and initialization vector.

Parameters:
keyThe encryption key
ivThe initialization vector for the key

Definition at line 86 of file Aes.cs.

Sylloge.Encryption.Aes.EncryptStream.EncryptStream ( byte[]  key,
byte[]  iv,
CryptoStreamMode  mode 
)

Create a default encryption stream using the specified byte key and initialization vector.

Parameters:
keyThe encryption key
ivThe initialization vector for the key
modeThe mode (read/write) to specify

Definition at line 96 of file Aes.cs.

Sylloge.Encryption.Aes.EncryptStream.EncryptStream ( byte[]  key,
byte[]  iv,
int  blockSize,
int  keySize 
)

Create a default encryption stream using the specified byte key and initialization vector.

Parameters:
keyThe encryption key
ivThe initialization vector for the key
blockSizeThe block size to set
keySizeThe key size to set

Definition at line 107 of file Aes.cs.

Sylloge.Encryption.Aes.EncryptStream.EncryptStream ( byte[]  key,
byte[]  iv,
int  blockSize,
int  keySize,
CryptoStreamMode  mode 
)

Create a default encryption stream using the specified byte key and initialization vector.

Parameters:
keyThe encryption key
ivThe initialization vector for the key
blockSizeThe block size to set
keySizeThe key size to set
modeThe mode (read/write) to specify

Definition at line 119 of file Aes.cs.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events