This package implements cyclic redundancy checks for the Motoko programming language.
- DFINITY SDK v0.5.11
- Vessel v0.4.1 (Optional)
Calculate an 8-bit cyclic redundancy check.
public func crc8(data : [Word8]) : Word8
Calculate a 32-bit cyclic redundancy check.
public func crc32(data : [Nat8]) : [Nat8]