Encrypts data.

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Function Encrypt ( _
	rgb As Byte(), _
	parameters As EncryptionParameters _
) As Byte()
C#
public byte[] Encrypt(
	byte[] rgb,
	EncryptionParameters parameters
)

Parameters

rgb
Type: array<System..::..Byte>[]()[][]
Data to be encrypted.
parameters
Type: Rebex.Security.Cryptography..::..EncryptionParameters
Encryption parameters.

Return Value

Encrypted data.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also