Standard library / hash/crc32

hash/crc32.Castagnoli

CRC-32C polynomial; used in protocols such as iSCSI. The value selects the polynomial, not a computed digest. This is not a cryptographic authentication primitive. Expected stdout: '82f63b78\n'.

Formal Syntax & Structure

go syntaxgo
const Castagnoli = 0x82f63b78

Working Example

Example Snippetgo
package main
import (  "fmt"  "hash/crc32")
func main() { fmt.Printf("%x\n", uint32(crc32.Castagnoli)) }
Go Reference