ilusm.dev

crc

CRC32/CRC16 checksums for data integrity and network protocols.

Load with: use crc

Quick example

use crc

result = crc32("value")
prn(result)

Functions

Functions

crctb()

Performs the operation.

crcgt()

Performs the operation.

crc32(s)

Performs the operation. Takes s.

crc3h(s)

Performs the operation. Takes s.

crct6()

Performs the operation.

crcg6()

Performs the operation.

crc16(s)

Performs the operation. Takes s.

crc1h(s)

Performs the operation. Takes s.

crcok(s, expected)

Performs the operation. Takes s, expected.

Module aliases

These are the public-facing names you call with use crc:

  • crc.c32(s)
  • crc.c16(s)
  • crc.hex(s)
  • crc.h16(s)
  • crc.chk(s, e)

Notes

  • CRC checksums - CRC8, CRC16, CRC32.