crc8 implements the 8-bit cyclic redundancy check, or CRC-8.
It's entirely copied from Go's standard library hash/crc32 with obvious edits to change the CRC-32 hash functions into CRC-8.
New creates a new hash.Hash8 computing the CRC-32 checksum
using the polynomial represented by the Table.
Its Sum method will lay the value out in big-endian byte order.