ICryptoTransform 接口
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义加密转换的基本操作。
public interface class ICryptoTransform : IDisposable
C#
public interface ICryptoTransform : IDisposable
C#
[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 加密转换的一个示例。
Can |
获取一个值,该值指示是否可重复使用当前转换。 |
Can |
获取一个值,该值指示是否可以转换多个块。 |
Input |
获取输入块大小。 |
Output |
获取输出块大小。 |
Dispose() |
执行与释放或重置非托管资源关联的应用程序定义的任务。 (继承自 IDisposable) |
Transform |
转换输入字节数组的指定区域,并将所得到的转换复制到输出字节数组的指定区域。 |
Transform |
转换指定字节数组的指定区域。 |
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.3, 1.4, 1.6, 2.0, 2.1 |