Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

u8vector-crc8 returns a 8bit cyclic redundancy check sum.

Parameter Description
v u8vector

Example

Example 1: Run 8 and 32 bit checksums on a u8vector

> (define vec (u8vector 0 1 2 3 4 5 6 7 8 9 10 11))
> (u8vector-crc8 vec)
51
> (u8vector-crc32 vec)
3174836710
Clone this wiki locally