e-CryptIt Engine - Checksums Xojo Plugin |
|
EinhugurChecksum.Adler32 Method
To compute a checksum using the Adler32 algorithm.
Adler32 is much faster and almost as reliable as CRC32.
Adler32(
bytes as String,
adler as UInt32) as UInt32
Parameters
- bytes
- The bytes to calculate.
- 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 X Cocoa 32 bitMacOS X Cocoa 64 bitWindows 32 bitWindows 64 bitLinux 32 bitLinux 64 bitLinux ARMUnsupported Platforms:
MacOS X Carbon
See Also
EinhugurChecksum Module