June 2003
Intermediate to advanced
714 pages
22h 8m
English
ICryptoTransform
public interface ICryptoTransform : IDisposable { // Public Instance Properties public bool CanReuseTransform{get; } public bool CanTransformMultipleBlocks{get; } public int InputBlockSize{get; } public int OutputBlockSize{get; } // Public Instance Methods public int TransformBlock(byte[ ]inputBuffer, intinputOffset, intinputCount, byte[ ]outputBuffer, intoutputOffset); public byte[ ] TransformFinalBlock(byte[ ]inputBuffer, intinputOffset, intinputCount); }
The ICryptoTransform interface defines the basic
operations of a symmetric block cipher, and is used in conjunction
with the CryptoStream class to transform data.
Implementations of this interface are most commonly obtained through
the SymmetricAlgorithm.CreateEncryptor( ) and
SymmetricAlgorithm.CreateDecryptor( ) methods.
CryptoAPITransform,
FromBase64Transform,
HashAlgorithm,
ToBase64Transform
SymmetricAlgorithm.{CreateDecryptor( ),
CreateEncryptor( )}
CryptoStream.CryptoStream( )