AsymmetricKeyAlgorithm.Encrypt Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9083)
Encrypt(Byte[])
Encrypts data.
Declaration
public byte[] Encrypt(byte[] rgb)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | rgb | Data to be encrypted. |
Returns
Type | Description |
---|---|
Byte[] | Encrypted data. |
Encrypt(Byte[], EncryptionParameters)
Encrypts data.
Declaration
public byte[] Encrypt(byte[] rgb, EncryptionParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | rgb | Data to be encrypted. |
EncryptionParameters | parameters | Encryption parameters. |
Returns
Type | Description |
---|---|
Byte[] | Encrypted data. |