| e-CryptIt Engine REALbasic Plugin |
|
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 Integer) as Integer
Parameters
- bytes
- The bytes to calculate.
- adler
- The Adler value to calculate from.
Returns
- Integer
Remarks
A good way to represent the checksum as an Hex string:
myString = Right("0000000"+HEX(myadler), 8)
Supported Platforms:
PPC - MacOS 9Carbon - MacOS 9 and MacOS X (PEF)MacOS X PPC - (Mach-O)MacOS X Universal Binary (Mach-O)Win32 - WindowsLinux x86
See Also
GlobalMethods Global