e-CryptIt Engine - Checksums Xojo Plugin

EinhugurChecksum.Adler32_MemoryBlock Method (console safe)

To compute a checksum using the Adler32 algorithm on a MemoryBlock then user the Adler32_MemoryBlock function.
Adler32 is much faster and almost as reliable as CRC32.

Adler32_MemoryBlock(
   bytes as MemoryBlock,
   offset as Integer,
   length as Integer,
   adler as UInt32) as UInt32

Parameters

bytes
The bytes to calculate.
offset
The offset where in the MemoryBlock to start. (First byte in the MemoryBlock is 0)
length
The number of bytes in the memory block to do Adler32 checksum on.
adler
The Adler value to calculate from.

Returns

UInt32

Remarks

A good way to represent the checksum as an Hex string:

myString = Right("0000000"+HEX(myadler), 8)

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS
  • See Also

    EinhugurChecksum Module