ICryptoTransform ICryptoTransform ICryptoTransform ICryptoTransform Interface

定义

定义加密转换的基本操作。Defines the basic operations of cryptographic transformations.

public interface class ICryptoTransform : IDisposable
[System.Runtime.InteropServices.ComVisible(true)]
public interface ICryptoTransform : IDisposable
type ICryptoTransform = interface
    interface IDisposable
Public Interface ICryptoTransform
Implements IDisposable
派生
属性
实现

注解

哈希算法是加密转换 (HashAlgorithm) 的一个示例。Hash algorithms are an example of cryptographic transformations (HashAlgorithm).

属性

CanReuseTransform CanReuseTransform CanReuseTransform CanReuseTransform

获取一个值,该值指示是否可重复使用当前转换。Gets a value indicating whether the current transform can be reused.

CanTransformMultipleBlocks CanTransformMultipleBlocks CanTransformMultipleBlocks CanTransformMultipleBlocks

获取一个值,该值指示是否可以转换多个块。Gets a value indicating whether multiple blocks can be transformed.

InputBlockSize InputBlockSize InputBlockSize InputBlockSize

获取输入块大小。Gets the input block size.

OutputBlockSize OutputBlockSize OutputBlockSize OutputBlockSize

获取输出块大小。Gets the output block size.

方法

Dispose() Dispose() Dispose() Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from IDisposable)
TransformBlock(Byte[], Int32, Int32, Byte[], Int32) TransformBlock(Byte[], Int32, Int32, Byte[], Int32) TransformBlock(Byte[], Int32, Int32, Byte[], Int32) TransformBlock(Byte[], Int32, Int32, Byte[], Int32)

转换输入字节数组的指定区域,并将所得到的转换复制到输出字节数组的指定区域。Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.

TransformFinalBlock(Byte[], Int32, Int32) TransformFinalBlock(Byte[], Int32, Int32) TransformFinalBlock(Byte[], Int32, Int32) TransformFinalBlock(Byte[], Int32, Int32)

转换指定字节数组的指定区域。Transforms the specified region of the specified byte array.

适用于

另请参阅