Module:Crc32lua: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

9 November 2024

8 November 2024

  • curprev 20:2020:20, 8 November 2024Selfice talk contribs 6,117 bytes +6,117 创建页面,内容为“--[[ LUA MODULE digest.crc32 - CRC-32 checksum implemented entirely in Lua. SYNOPSIS local CRC = require 'digest.crc32lua' print(CRC.crc32 'test') --> 0xD87F7E0C or -662733300 assert(CRC.crc32('st', CRC.crc32('te')) == CRC.crc32 'test') DESCRIPTION This can be used to compute CRC-32 checksums on strings. This is similar to [1-2]. API Note: in the functions below, checksums are 32-bit integers stored in numbers. The number format cu…”