From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:Zstandard" |
|---|
| claim | "Formatted Zstandard dictionaries (zstd --train / ZDICT) start with the magic 0xEC30A437 little-endian (bytes 37 A4 30 EC), then a uint32 Dictionary_ID (not 0), the entropy tables and the content. A buffer without this magic is used as a raw-content dictionary." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Zstandard" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "37 A4 30 EC" |
|---|
| offset | 0 |
|---|
| meaning | "formatted dictionary (ZSTD_MAGIC_DICTIONARY, valid since v0.7.0)" |
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "Dictionary Format: Magic_Number 0xEC30A437 LE, Dictionary_ID 4 bytes LE" |
|---|
| repo | "https://github.com/facebook/zstd" |
|---|
| commit | "49cf51799ea051457f57243527aa2058f999f005" |
|---|
| path | "doc/zstd_compression_format.md" |
|---|
| lines | "1478-1538" |
|---|
|
| type | "source" |
|---|
| detail | "#define ZSTD_MAGIC_DICTIONARY 0xEC30A437 /* valid since v0.7.0 */" |
|---|
| repo | "https://github.com/facebook/zstd" |
|---|
| commit | "49cf51799ea051457f57243527aa2058f999f005" |
|---|
| path | "lib/zstd.h" |
|---|
| lines | "143" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "The four dictionaries d0-d3.dict of klauspost/compress dict-tests-small.zip start with 37 A4 30 EC (IDs 1057719328, 2007981008, 2107703434, 2107703434) and decode their 40 frames with matching checksums." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Dictionary magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T17:12:18.990Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:47:41.600Z" |
|---|
| result | "confirmed" |
|---|
| method | "Recomputed by hand: 0xEC30A437 little-endian = 37 A4 30 EC; matches. Did not re-read the spec text." |
|---|
|
|
|---|