Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Xts.EncryptSector Method

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Security.dll (version 7.0.9147)

EncryptSector(Byte[], Byte[], Int32, Int32, Byte[], Int32)

Encrypts the specified region of the input byte array and copies the result to the specified region of the output byte array.

Declaration
public void EncryptSector(byte[] tweak, byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
Parameters
Type Name Description
Byte[] tweak

The tweak value (check BlockSize for required length).

Byte[] inputBuffer

The input for which to compute the transform.

Int32 inputOffset

The offset into the input byte array from which to begin using data.

Int32 inputCount

The number of bytes in the input byte array to use as data.

Byte[] outputBuffer

The output to which to write the transform.

Int32 outputOffset

The offset into the output byte array from which to begin writing data.

In This Article
  • EncryptSector(Byte[], Byte[], Int32, Int32, Byte[], Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies