Encrypts a given byte array.

Namespace: LLCryptoLib.Security.Cryptography
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public string Encrypt(
	byte[] input
)
Visual Basic
Public Function Encrypt ( _
	input As Byte() _
) As String
Visual C++
public:
String^ Encrypt(
	array<unsigned char>^ input
)

Parameters

input
Type: array<System..::..Byte>[]()[][]
The array of bytes to encrypt.

Return Value

A string representation of the encrypted data.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptioninput is a null reference.

See Also