EncryptValue Method
Collapse the table of content
Expand the table of content

RSA.EncryptValue Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

When overridden in a derived class, encrypts the input data using the public key.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public abstract byte[] EncryptValue(
	byte[] rgb
)

Parameters

rgb
Type: System.Byte []
The plain text to be encrypted.

Return Value

Type: System.Byte []
The resulting encryption of the rgb parameter as cipher text.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2018 Microsoft