Encrypter.Encrypt

Overloads

Encrypt(Byte)Encrypts the byte.
Encrypt(Byte[])Encrypts the data found in the data byte array and returns the output.
Encrypt(Stream, Byte[], Int32, Int32)Encrypts the data found in the data byte array to the output stream.

Encrypt(Byte)

Encrypts the byte.

public byte Encrypt(byte data)
Function Encrypt(data As Byte) As Byte

Parameters

data
Byte

Byte to encrypt.

Returns

Byte

An encrypted byte.

Licensing Info

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Encrypt(Byte[])

Encrypts the data found in the data byte array and returns the output.

public Byte[] Encrypt(Byte[] data)
Function Encrypt(data As Byte()) As Byte()

Parameters

data
Byte[]

Data to encrypt.

Returns

Byte[]

An encrypted byte array.

Licensing Info

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Encrypt(Stream, Byte[], Int32, Int32)

Encrypts the data found in the data byte array to the output stream.

public void Encrypt(Stream stream, Byte[] data, int start, int length)
Sub Encrypt(stream As Stream, data As Byte(), start As Integer, length As Integer)

Parameters

stream
Stream

The output stream to receive the encrypted data.

data
Byte[]

Data to encrypt.

start
Int32

Start of the data to encrypt.

length
Int32

Length of the data to encrypt.

Licensing Info

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also

Encrypter
ceTe.DynamicPDF.IO

In this topic