ICryptoTransform Interface

ICryptoTransform Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines the basic operations of cryptographic transformations.

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

public interface ICryptoTransform : IDisposable

The ICryptoTransform type exposes the following members.

  NameDescription
Public propertyCanReuseTransformGets a value indicating whether the current transform can be reused.
Public propertyCanTransformMultipleBlocksGets a value indicating whether multiple blocks can be transformed.
Public propertyInputBlockSizeGets the input block size.
Public propertyOutputBlockSizeGets the output block size.
Top

  NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodTransformBlockTransforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.
Public methodTransformFinalBlockTransforms the specified region of the specified byte array.
Top

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2018 Microsoft