Standard library / hash/crc32
hash/crc32.IEEE
Common IEEE CRC polynomial used by ZIP and GZIP. The value selects the polynomial, not a computed digest. This is not a cryptographic authentication primitive. Expected stdout: 'edb88320\n'.
Formal Syntax & Structure
go syntaxgo
const IEEE = 0xedb88320Working Example
Example Snippetgo
package main
import ( "fmt" "hash/crc32")
func main() { fmt.Printf("%x\n", uint32(crc32.IEEE)) }