ChaCha20Poly1305 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示与 Poly1305 验证器组合模式下的 ChaCha20 流密码一起使用的对称密钥。
public ref class ChaCha20Poly1305 sealed : IDisposable
C#
[System.Runtime.Versioning.SupportedOSPlatform("ios13.0")]
[System.Runtime.Versioning.SupportedOSPlatform("tvos13.0")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public sealed class ChaCha20Poly1305 : IDisposable
C#
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public sealed class ChaCha20Poly1305 : IDisposable
[<System.Runtime.Versioning.SupportedOSPlatform("ios13.0")>]
[<System.Runtime.Versioning.SupportedOSPlatform("tvos13.0")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
type ChaCha20Poly1305 = class
interface IDisposable
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
type ChaCha20Poly1305 = class
interface IDisposable
Public NotInheritable Class ChaCha20Poly1305
Implements IDisposable
- 继承
-
ChaCha20Poly1305
- 属性
- 实现
Cha |
使用提供的键初始化 ChaCha20Poly1305 类的新实例。 |
Cha |
使用提供的键初始化 ChaCha20Poly1305 类的新实例。 |
Is |
获取一个值,该值指示当前平台上是否支持该算法。 |
Decrypt(Byte[], Byte[], Byte[], Byte[], Byte[]) |
如果可以验证身份验证标记,将密码文本解密到提供的目标缓冲区。 |
Decrypt(Read |
如果可以验证身份验证标记,将密码文本解密到提供的目标缓冲区。 |
Dispose() |
执行与释放、释放或重置非托管资源关联的应用程序定义任务。 |
Encrypt(Byte[], Byte[], Byte[], Byte[], Byte[]) |
将纯文本加密到密码文本目标缓冲区,并将身份验证标记生成到单独的缓冲区中。 |
Encrypt(Read |
将纯文本加密到密码文本目标缓冲区,并将身份验证标记生成到单独的缓冲区中。 |
Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
Get |
用作默认哈希函数。 (继承自 Object) |
Get |
获取当前实例的 Type。 (继承自 Object) |
Memberwise |
创建当前 Object的浅表副本。 (继承自 Object) |
To |
返回一个表示当前对象的字符串。 (继承自 Object) |
产品 | 版本 |
---|---|
.NET | 6, 7, 8, 9, 10 |