Sample code for 30+ languages & platforms
PowerShell

Example: Crypt2.CrcBd method

Demonstrates how to call the CrcBd method.

Chilkat PowerShell Downloads

PowerShell
Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"

$crypt = New-Object Chilkat.Crypt2

$bd = New-Object Chilkat.BinData
$bd.AppendString("123456789","us-ascii")

$crc32 = $crypt.CrcBd("crc-32",$bd)
# The decimal value is 3421780262 (converted to hex is 0xCBF43926)
$($crc32)

$crc8 = $crypt.CrcBd("crc8",$bd)
$($crc8)