Share via


ICryptoTransform Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines the basic operations of cryptographic transformations.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
Public Interface ICryptoTransform _
    Inherits IDisposable
[ComVisibleAttribute(true)]
public interface ICryptoTransform : IDisposable

The ICryptoTransform type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone CanReuseTransform Gets a value indicating whether the current transform can be reused.
Public propertySupported by Silverlight for Windows Phone CanTransformMultipleBlocks Gets a value indicating whether multiple blocks can be transformed.
Public propertySupported by Silverlight for Windows Phone InputBlockSize Gets the input block size.
Public propertySupported by Silverlight for Windows Phone OutputBlockSize Gets the output block size.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodSupported by Silverlight for Windows Phone TransformBlock Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.
Public methodSupported by Silverlight for Windows Phone TransformFinalBlock Transforms the specified region of the specified byte array.

Top

Remarks

Hash algorithms are an example of cryptographic transformations (HashAlgorithm).

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.