Skip to content

lib/checksum

import "github.com/eugenioenko/goalchemy/lib/checksum"

Package checksum provides non-cryptographic checksums backed by host APIs where available.

Function c csharp go java python rust swift typescript
CRC32IEEE yes yes yes yes yes yes yes yes
func CRC32IEEE(data []byte) uint32

IEEE CRC-32 checksum over a byte slice, as used by ZIP.

  • Gate: sequential (never suspends)
  • Determinism: deterministic
  • Bounds: All bytes in the logical slice are consumed; bytes outside its length are ignored. No capability-specific size limit.
  • Errors: No error result.
  • Contract: lib.checksum.crc32_ieee 1.0.0