Encrypts data with the RSA algorithm.
Namespace:
Rebex.Security.Cryptography
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Function Encrypt ( _ rgb As Byte() _ ) As Byte() |
C# |
---|
public byte[] Encrypt( byte[] rgb ) |
Parameters
- rgb
- Type: array<System..::..Byte>[]()[][]
The data to be encrypted.
Return Value
The encrypted data.Remarks
Uses PKCS#1 v1.5 padding.