Adding CRC validation

Adding CRC validation support