SymmetricKey.EncryptAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task<Tuple<byte[],byte[],string>> EncryptAsync (byte[] plaintext, byte[] iv, byte[] authenticationData = default, string algorithm = default, System.Threading.CancellationToken token = default);
abstract member EncryptAsync : byte[] * byte[] * byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[] * byte[] * string>
override this.EncryptAsync : byte[] * byte[] * byte[] * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[] * byte[] * string>
Public Function EncryptAsync (plaintext As Byte(), iv As Byte(), Optional authenticationData As Byte() = Nothing, Optional algorithm As String = Nothing, Optional token As CancellationToken = Nothing) As Task(Of Tuple(Of Byte(), Byte(), String))
Parameters
- plaintext
- Byte[]
- iv
- Byte[]
- authenticationData
- Byte[]
- algorithm
- String
- token
- CancellationToken
Returns
Implements
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET