Skip to main content

ZeqCompress

ZeqCompress is the framework's own archive format — a compact .zeqc file that does three things a plain compressor doesn't: it stamps the Zeqond it was created at into the archive, it verifies its own integrity with SHA-256, and it reports entropy forensics about what it's holding. Data compressed here isn't just smaller; it carries when it was made and proof it hasn't been altered.

The archive

A .zeqc file is Zstd-compressed data wrapped in a small, explicit binary header:

[ MAGIC "ZEQC" ][ VERSION ][ Zeqond epoch ][ SHA-256 integrity ][ Zstd payload… ]

Zeqond-stamped

Every archive records the Zeqond epoch it was created at, so an archive is dated on the framework's own clock, not a wall clock you have to trust.

Integrity-verified

A SHA-256 over the contents means a corrupted or tampered archive is detected on open, never silently decompressed into garbage.

Deterministic

The same input compresses to the same archive, and multi-file archives are supported — reproducible packaging, not a moving target.

Entropy forensics

Compression is also a measurement. Because a compressor's job is to remove redundancy, how well data compresses tells you what kind of data it is — and ZeqCompress reports that. The /analyze surface returns an entropy read you can use to classify content: highly-structured text compresses far; already encrypted or random data barely moves, because it has no redundancy left to remove. That's a genuine, honest signal — the same reason an awareness operator treats Shannon entropy as a first-class quantity.

curl -sX POST https://zeqsdk.com/api/compress -d '{"data":"…"}' # → a .zeqc archive
curl -sX POST https://zeqsdk.com/api/decompress -d '{"archive":"…"}' # → the original, integrity-checked
curl -sX POST https://zeqsdk.com/api/analyze -d '{"data":"…"}' # → entropy forensics / classification
  • HITE encryption — seal an archive so even its entropy signature gives nothing away.
  • Operators — Shannon entropy as a named, computed quantity.
  • The clock — the Zeqond every archive is stamped with.