Discuss this help topic in SecureBlackbox Forum


TElSymmetricCrypto     See also     

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

Finishes encryption of the data blocks.


    void FinalizeEncryption(ref byte[] OutBuffer, int OutIndex, ref int OutSize);

    Sub FinalizeEncryption(ByRef OutBuffer As Byte(), ByVal OutIndex As Integer, ByRef OutSize As Integer)

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

    void FinalizeEncryption(void * OutBuffer, int32_t &OutSize);

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

    byte[] finalizeEncryption(int OutSize);
    int finalizeEncryption(byte[][] OutBuffer, int OutIndex, int OutSize);


  • 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



    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