Discuss this help topic in SecureBlackbox Forum

TElSymmetricCrypto.DecryptUpdate

TElSymmetricCrypto     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Decrypts the data block.

Declaration

[C#/Java]
    void DecryptUpdate(byte[] InBuffer, int InIndex, int InSize, ref byte[] OutBuffer, int OutIndex, ref int OutSize);

[VB.NET]
    Sub DecryptUpdate(ByVal InBuffer As Byte(), ByVal InIndex As Integer, ByVal InSize As Integer, ByRef OutBuffer As Byte(), ByVal OutIndex As Integer, ByRef OutSize As Integer)

[Pascal]
    procedure DecryptUpdate(InBuffer : pointer; InSize : integer; OutBuffer : pointer; var OutSize : integer);

[C++]
    void DecryptUpdate(void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize);

[PHP]
    void DecryptUpdate(TSBPointer|array of byte|string|NULL $InBuffer, integer $InSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize)

Parameters

  • InBuffer - reference to the data to decrypt.
  • InIndex - Offset of the input data in the input array.
  • InSize - Size of input data in bytes.
  • OutBuffer - reference to buffer where decrypted data should be stored.
  • OutIndex - Offset in the output array, starting from which the data is written.
  • OutSize - Size of available space in OutBuffer in bytes.

Return value

    …

Description

    Use this method when you want to decrypt the data block which is part of the larger data. To finish decryption of the whole data use FinalizeDecryption method.

See also:     InitializeDecryption     FinalizeDecryption    

Discuss this help topic in SecureBlackbox Forum