TransformBlock
Processes a set of data, encrypting or decrypting it.
Public Function TransformBlock(
ByRef InputBuffer ( ) As Byte,
ByVal InputOffset As Long,
ByVal InputCount As Long,
ByRef OutputBuffer ( ) As Byte,
ByVal OutputOffset As Long ) As Long
Parameters
- InputBuffer
-
[ByRef]
Byte.
The data to be processed.
- InputOffset
-
[ByVal]
Long.
The index to begin processing from.
- InputCount
-
[ByVal]
Long.
The amount of data to be processed.
- OutputBuffer
-
[ByRef]
Byte.
The buffer to place the processed data.
- OutputOffset
-
[ByVal]
Long.
The index to begin placing the processed data.
Return Values
Long - The number of bytes that were processed.
Remarks
The InputCount must be an exact multiple of the InputBlockSize or an exception will be thrown.
See Also
Project CorLib Overview
Class CryptoAPITransform Overview