Discuss this help topic in SecureBlackbox Forum

TElHashFunction.Update

TElHashFunction     See also     


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


Updates data for hashing.

Declaration

[C#/Java]
    void Update(byte[] Buffer, int StartIndex, int Count);
    void Update(byte[] Buffer);

[VB.NET]
    Sub Update(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Count As Integer)
    Sub Update(ByVal Buffer As Byte())

[Pascal]
    procedure Update(Buffer : pointer; Size : integer);

[C++]
    void Update(void * Buffer, int32_t Size);
    void Update(const std::vector<uint8_t> &Buffer, int32_t StartIndex, int32_t Count);
    void Update(const std::vector<uint8_t> &Buffer);

[PHP]
    void Update(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)
    void Update(array of byte|string|NULL $Buffer, integer $StartIndex, integer $Count)
    void Update(array of byte|string|NULL $Buffer)

Parameters

  • Buffer - Buffer containing data for update
  • StartIndex - The index of the fist byte in Buffer from which the data for update starts
  • Count - Number of bytes to be read from Buffer
  • Size - Size of the Buffer in bytes

Description

    Use this method to update the hash data from memory buffer. To update hash data from stream, use UpdateStream method.
    If you are using SBB 8.2.193 (or earlier version), and planning to upgrade, please, consult the G_CheckPointerIsNotAnObject variable reference.

See also:     Reset     UpdateStream     G_CheckPointerIsNotAnObject    

Discuss this help topic in SecureBlackbox Forum