Skip to content

MTY_CRC32

chrisd1100 edited this page Aug 25, 2022 · 1 revision

CRC32 checksum.

This CRC32 implementation uses the reverse polynomial 0xEDB88320.

uint32_t MTY_CRC32(
    uint32_t     crc,
    const void * buf,
    size_t       size
);

Parameters

crc (uint32_t)

CRC32 seed value.

buf (const void *)

Input buffer.

size (size_t)

Size in bytes of buf.

Return value

uint32_t

CRC32 checksum.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: Crypto

Clone this wiki locally