Visual Basic 6.0
Visual Basic 6.0
Example: Crypt2.CrcBd method
Demonstrates how to call the CrcBd method.Chilkat Visual Basic 6.0 Downloads
Dim crypt As New ChilkatCrypt2
Dim bd As New ChilkatBinData
success = bd.AppendString("123456789","us-ascii")
Dim crc32 As Long
crc32 = crypt.CrcBd("crc-32",bd)
' The decimal value is 3421780262 (converted to hex is 0xCBF43926)
Debug.Print crc32
Dim crc8 As Long
crc8 = crypt.CrcBd("crc8",bd)
Debug.Print crc8