Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Cleanup internal state.
|
|
GetAuthCode ( ) : byte[] |
Returns the 10 byte AUTH CODE to be checked or appended immediately following the AES data stream.
|
|
TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int |
Implement the ICryptoTransform method.
|
|
TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[] |
Not implemented.
|
|
ZipAESTransform ( string key, byte saltBytes, int blockSize, bool writeMode ) : System |
Constructor.
|
public TransformBlock ( byte inputBuffer, int inputOffset, int inputCount, byte outputBuffer, int outputOffset ) : int | ||
inputBuffer | byte | |
inputOffset | int | |
inputCount | int | |
outputBuffer | byte | |
outputOffset | int | |
Результат | int |
public TransformFinalBlock ( byte inputBuffer, int inputOffset, int inputCount ) : byte[] | ||
inputBuffer | byte | |
inputOffset | int | |
inputCount | int | |
Результат | byte[] |
public ZipAESTransform ( string key, byte saltBytes, int blockSize, bool writeMode ) : System | ||
key | string | Password string |
saltBytes | byte | Random bytes, length depends on encryption strength. /// 128 bits = 8 bytes, 192 bits = 12 bytes, 256 bits = 16 bytes. |
blockSize | int | The encryption strength, in bytes eg 16 for 128 bits. |
writeMode | bool | True when creating a zip, false when reading. For the AuthCode. |
Результат | System |