skip to Main Content

Debian – How to get the same CRC32 like cksum?

I took the source code of cksum and copied the polynomial. This gives the same as the predefined IEEE variant defined in the Go standard library. package main import ( "fmt" "hash/crc32" ) // https://github.com/coreutils/coreutils/blob/a9b78541fa7c06567c5b82fb4e89d85a1dc0c611/src/cksum.c#L54 // // 32 26 23…

VIEW QUESTION
Back To Top
Search