Allow byte arrays as input to the CRC routines.

The input to the CRC routines can now be bytes or strings.