Mono Class Library: System.Security.Cryptography.RSA Overview | Members

System.Security.Cryptography.RSA.EncryptValue Method

Raw (unpadded) encryption using the RSA public key. [Edit]

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

Parameters

rgb
The data to be encrypted. [Edit]

Returns

An array of bytes containing the encrypted data. [Edit]

Remarks

Direct (raw) encryption (i.e. without padding) is discouraged due to high security risks. [Edit]

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0