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.
interface System.​Security.​Cryptography.​ICryptoTransform
Assembly: System.Security.Cryptography
Implemented Interfaces
Defines the basic operations of cryptographic transformations.
Properties
bool
CanReuseTransform
Gets a value indicating whether the current transform can be reused.
bool
CanTransformMultipleBlocks
Gets a value indicating whether multiple blocks can be transformed.
int
InputBlockSize
Gets the input block size.
int
OutputBlockSize
Gets the output block size.
Methods
int
TransformBlock​(byte[] inputBuffer,
int inputOffset,
int inputCount,
byte[] outputBuffer,
int outputOffset)
Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.
Returns The number of bytes written.
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.
byte[]
TransformFinalBlock​(byte[] inputBuffer,
int inputOffset,
int inputCount)
Transforms the specified region of the specified byte array.
Returns The computed transform.
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.