Discuss this help topic in SecureBlackbox Forum

TElSymmetricCrypto.DecryptUpdate

TElSymmetricCrypto     See also     


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


Decrypts a block of data.

Declaration

[C#]
    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); overload;

[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)

[Java]
    int decryptUpdate(byte[] InBuffer, int InIndex, int InSize, byte[][] OutBuffer, int OutIndex, int OutSize);
    byte[] decryptUpdate(byte[] InBuffer, int InIndex, int InSize, int OutSize);

Parameters

  • InBuffer - buffer with data to decrypt.
  • InIndex - offset of the encrypted data block in InBuffer.
  • InSize - size of encrypted data in bytes.
  • OutBuffer - buffer where the decrypted data should be stored.
  • OutIndex - offset in OutBuffer, starting from which the data should be written.
  • OutSize - the amount of space available in OutBuffer in bytes.

Return value

    Returns

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