From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Technique:Non-cryptographic hashes in file formats" |
|---|
| claim | "The Internet checksum (RFC 1071: IPv4 header, ICMP, UDP, TCP) is the ones-complement of the ones-complement sum of 16-bit big-endian words (odd length padded with a zero byte); summing data plus checksum gives 0xFFFF." |
|---|
| scope | | level | "technique" |
|---|
| applies_to | "Technique:Non-cryptographic hashes in file formats" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "checksum definition" |
|---|
| indicator | "loop adding 16-bit words into a 32-bit accumulator, then folding (sum >> 16) + (sum & 0xFFFF) and NOT" |
|---|
| test_vectors | | input | "123456789 (ASCII)" |
|---|
| expected | "0xF62A" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "RFC 1071; test value computed with an independent implementation of the definition" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "Internet checksum" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T15:09:06.787Z" |
|---|
| verifications | |
|---|