Method | Description | |
---|---|---|
Decrypt ( byte data ) : byte[] |
Decrypts the specified data.
|
|
Decrypt ( byte data, int offset, int length ) : byte[] |
Decrypts the specified input.
|
|
Encrypt ( byte data, int offset, int length ) : byte[] |
Encrypts the specified data.
|
Method | Description | |
---|---|---|
BlockCipher ( byte key, byte blockSize, |
Initializes a new instance of the BlockCipher class.
|
protected BlockCipher ( byte key, byte blockSize, |
||
key | byte | The key. |
blockSize | byte | Size of the block. |
mode | Cipher mode. | |
padding | Cipher padding. | |
return | System |
public Decrypt ( byte data, int offset, int length ) : byte[] | ||
data | byte | The input. |
offset | int | The zero-based offset in |
length | int | The number of bytes to decrypt from |
return | byte[] |
public Encrypt ( byte data, int offset, int length ) : byte[] | ||
data | byte | The data. |
offset | int | The zero-based offset in |
length | int | The number of bytes to encrypt from |
return | byte[] |