Discuss this help topic in SecureBlackbox Forum

TElSymmetricCrypto.FinalizeEncryption

TElSymmetricCrypto     See also     


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


Finishes encryption of the data blocks.

Declaration

[C#/Java]
    void FinalizeEncryption(ref byte[] OutBuffer, int OutIndex, ref int OutSize);

[VB.NET]
    Sub FinalizeEncryption(ByRef OutBuffer As Byte(), ByVal OutIndex As Integer, ByRef OutSize As Integer)

[Pascal]
    procedure FinalizeEncryption( OutBuffer : pointer; var OutSize : integer); virtual;

[C++]
    void FinalizeEncryption(void * OutBuffer, int32_t &OutSize);

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

Parameters

  • Buffer -
  • OutBuffer - reference to buffer where encrypted 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 encrypted several blocks of data using EncryptUpdate and now you need to obtain the ending part of the encrypted data.

See also:     InitializeEncryption     EncryptUpdate    

Discuss this help topic in SecureBlackbox Forum