RSAManaged.Encrypt Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9313)
Encrypt(Byte[])
Encrypts data with the RSA algorithm.
Declaration
public byte[] Encrypt(byte[] rgb)Parameters
| Type | Name | Description | 
|---|---|---|
| Byte[] | rgb | The data to be encrypted. | 
Returns
| Type | Description | 
|---|---|
| Byte[] | The encrypted data. | 
Remarks
Uses PKCS#1 v1.5 padding.