Decrypts single bytes.
Namespace: LLCryptoLib.CryptoAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public int Decrypt( byte[] dataIn, int posIn, byte[] dataOut, int posOut, int count ) |
Visual Basic |
---|
Public Function Decrypt ( _ dataIn As Byte(), _ posIn As Integer, _ dataOut As Byte(), _ posOut As Integer, _ count As Integer _ ) As Integer |
Visual C++ |
---|
public: int Decrypt( array<unsigned char>^ dataIn, int posIn, array<unsigned char>^ dataOut, int posOut, int count ) |
Parameters
- dataIn
- Type: array<System..::..Byte>[]()[][]
The input buffer.
- posIn
- Type: System..::..Int32
Where to start reading in the input buffer.
- dataOut
- Type: array<System..::..Byte>[]()[][]
The output buffer.
- posOut
- Type: System..::..Int32
Where to start writing to the output buffer.
- count
- Type: System..::..Int32
Number ob bytes to decrypt.
Return Value
The number of bytes processed.
Remarks
Use this method to decrypt bytes from one array to another one. You can also use
the same array for input and output. Note that the number of bytes must be adjusted to the
block size of the algorithm. Overlapping bytes will not be decrypted. No check for buffer
overflows are made.