Adding CRC validation

Adding CRC validation support
Remove println from success case. Also, can you reword the error message to something like: "CRC mismatch: calculated $genCrc but should have been $crc" -- maybe rename the parameters `crc` and `genCrc` to `actual` and `expected`.