RSAMethods.DecryptAsync Method

Tungsten Suite

RSAMethodsDecryptAsync Method

Asynchronously decrypts a string which was previously encrypted with the Encrypt method

Namespace:  W.Encryption
Assembly:  Tungsten.Encryption (in Tungsten.Encryption.dll) Version: 2.0.2
Syntax
C#
public static Task<byte[]> DecryptAsync(
	byte[] bytes,
	RSAParameters key
)

Parameters

bytes
Type: SystemByte
The encrypted byte array
key
Type: System.Security.CryptographyRSAParameters
The key to decrypt the data

Return Value

Type: TaskByte
A byte array containing the decrypted value
See Also