RSA.Decrypt Method (Byte[], RSAParameters)

Tungsten Suite

RSADecrypt Method (Byte, RSAParameters)

Decrypts a byte[] (previously encrypted with the Encrypt method)

Namespace:  W.Encryption
Assembly:  Tungsten.Encryption (in Tungsten.Encryption.dll) Version: 2.0.2
Syntax
C#
public byte[] Decrypt(
	byte[] bytes,
	RSAParameters privateKey
)

Parameters

bytes
Type: SystemByte
The encrypted byte[]
privateKey
Type: System.Security.CryptographyRSAParameters
The private key used to decrypt the byte[]

Return Value

Type: Byte
A byte[] containing the decrypted value
See Also