共用方式為


SymmetricKey.DecryptAsync Method

Definition

public System.Threading.Tasks.Task<byte[]> DecryptAsync (byte[] ciphertext, byte[] iv, byte[] authenticationData = default, byte[] authenticationTag = default, string algorithm = default, System.Threading.CancellationToken token = default);
abstract member DecryptAsync : byte[] * byte[] * byte[] * byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
override this.DecryptAsync : byte[] * byte[] * byte[] * byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Function DecryptAsync (ciphertext As Byte(), iv As Byte(), Optional authenticationData As Byte() = Nothing, Optional authenticationTag As Byte() = Nothing, Optional algorithm As String = Nothing, Optional token As CancellationToken = Nothing) As Task(Of Byte())

Parameters

ciphertext
Byte[]
iv
Byte[]
authenticationData
Byte[]
authenticationTag
Byte[]
algorithm
String

Returns

Task<Byte[]>

Implements

Applies to