AsymmetricKeyAlgorithm.Decrypt Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.8944)
Decrypt(Byte[])
Decrypts data.
Declaration
public byte[] Decrypt(byte[] rgb)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | rgb | Data to be decrypted. |
Returns
Type | Description |
---|---|
Byte[] | Decrypted data. |
Remarks
If silent operation is requested and the CSP must display UI to operate, this method will fail.
Decrypt(Byte[], EncryptionParameters)
Decrypts data.
Declaration
public byte[] Decrypt(byte[] rgb, EncryptionParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | rgb | Data to be decrypted. |
EncryptionParameters | parameters | Encryption parameters. |
Returns
Type | Description |
---|---|
Byte[] | Decrypted data. |