ICryptoTransform 接口

定义

定义加密转换的基本操作。

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

注解

哈希算法是 () HashAlgorithm 加密转换的示例。

属性

CanReuseTransform

获取一个值,该值指示是否可重复使用当前转换。

CanTransformMultipleBlocks

获取一个值,该值指示是否可以转换多个块。

InputBlockSize

获取输入块大小。

OutputBlockSize

获取输出块大小。

方法

Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。

(继承自 IDisposable)
TransformBlock(Byte[], Int32, Int32, Byte[], Int32)

转换输入字节数组的指定区域,并将所得到的转换复制到输出字节数组的指定区域。

TransformFinalBlock(Byte[], Int32, Int32)

转换指定字节数组的指定区域。

适用于

另请参阅