Standard Library

GoHashCrc32

Go stdlib package — hash/crc32. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.Checksum()Neutral
#
Signature
Checksum(data []byte, tab *Table) uint32

Checksum returns the CRC-32 checksum of data

.ChecksumIEEE()Neutral
#
Signature
ChecksumIEEE(data []byte) uint32

ChecksumIEEE returns the CRC-32 checksum of data

.MakeTable()Neutral
#
Signature
MakeTable(poly uint32) *Table

MakeTable returns a Table constructed from the specified polynomial.

.New()Neutral
#
Signature
New(tab *Table) hash.Hash32

New creates a new hash.Hash32 computing the CRC-32 checksum using the

.NewIEEE()Neutral
#
Signature
NewIEEE() hash.Hash32

NewIEEE creates a new hash.Hash32 computing the CRC-32 checksum using

.Update()Neutral
#
Signature
Update(crc uint32, tab *Table, p []byte) uint32

Update returns the result of adding the bytes in p to the crc.

.Table()Neutral
#
Signature
type Table ...

Table is a 256-word table representing the polynomial for efficient processing.

Fully-Qualified Names

FQNField
hash/crc32fqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # hash/crc32