Xojo Plugin
Xojo Plugin
Example: Crypt2.CrcBd method
Demonstrates how to call the CrcBd method.Chilkat Xojo Plugin Downloads
Dim crypt As New Chilkat.Crypt2
Dim bd As New Chilkat.BinData
Dim success As Boolean
success = bd.AppendString("123456789","us-ascii")
Dim crc32 As UInt32
crc32 = crypt.CrcBd("crc-32",bd)
// The decimal value is 3421780262 (converted to hex is 0xCBF43926)
System.DebugLog(Str(crc32))
Dim crc8 As UInt32
crc8 = crypt.CrcBd("crc8",bd)
System.DebugLog(Str(crc8))