Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​Security.​Cryptography.​ICryptoTransform
Assembly: System.Security.Cryptography
Defines the basic operations of cryptographic transformations.
Properties
public
bool
CanReuseTransform
Gets a value indicating whether the current transform can be reused.
public
bool
CanTransformMultipleBlocks
Gets a value indicating whether multiple blocks can be transformed.
public
int
InputBlockSize
Gets the input block size.
public
int
OutputBlockSize
Gets the output block size.
Methods
public
int
TransformBlock​(byte[] inputBuffer,
int inputOffset,
int inputCount,
byte[] outputBuffer,
int outputOffset)
inputBuffer
The input for which to compute the transform.
inputOffset
The offset into the input byte array from which to begin using data.
inputCount
The number of bytes in the input byte array to use as data.
outputBuffer
The output to which to write the transform.
outputOffset
The offset into the output byte array from which to begin writing data.
Returns The number of bytes written.
Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.
public
byte[]
TransformFinalBlock​(byte[] inputBuffer,
int inputOffset,
int inputCount)
inputBuffer
The input for which to compute the transform.
inputOffset
The offset into the byte array from which to begin using data.
inputCount
The number of bytes in the byte array to use as data.
Returns The computed transform.
Transforms the specified region of the specified byte array.