Standard library / hash/crc32

hash/crc32.Table

Lookup table of 256 words for a particular CRC polynomial. Reuse an initialized table without modifying it. This is not a cryptographic authentication primitive. Expected stdout: '256\n'.

Formal Syntax & Structure

go syntaxgo
type Table [256]uint32

Working Example

Example Snippetgo
package main
import (  "fmt"  "hash/crc32")
func main() { var t *crc32.Table = crc32.MakeTable(crc32.IEEE); fmt.Println(len(t)) }
Go Reference