From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Technique:Non-cryptographic hashes in file formats" |
|---|
| claim | "Adler-32 keeps A (start 1) and B (start 0) modulo 65521 and stores B<<16|A big endian; Fletcher-16 keeps A and B modulo 255 (result B<<8|A) and Fletcher-32 sums 16-bit words modulo 65535." |
|---|
| scope | | level | "technique" |
|---|
| applies_to | "Technique:Non-cryptographic hashes in file formats" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "checksum definition" |
|---|
| indicator | "modulus 65521 (0xFFF1) and NMAX 5552 in code; modulus 255 or 65535 in a double running sum" |
|---|
| test_vectors | | input | "Wikipedia (ASCII), Adler-32" |
|---|
| expected | "0x11E60398" |
|---|
|
| input | "123456789 (ASCII), Adler-32" |
|---|
| expected | "0x091E01DE" |
|---|
|
| input | "abcde (ASCII), Fletcher-16" |
|---|
| expected | "0xC8F0" |
|---|
|
| input | "abcde (ASCII), Fletcher-32 (little-endian 16-bit words, zero padded)" |
|---|
| expected | "0xF04FC729" |
|---|
|
| input | "123456789 (ASCII), Fletcher-16" |
|---|
| expected | "0x1EDE" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "RFC 1950 section 8 (Adler-32) and the Fletcher definition; test values computed with an independent implementation of the definition, not read from a repository" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "Adler-32 and Fletcher definitions" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T15:09:06.639Z" |
|---|
| verifications | |
|---|