← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Decayfmt: A File Format That Corrupts Itself Upon Each Opening

🔄 Updated 2h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Decayfmt files corrupt themselves with each open.
  • An instability parameter 'x' in the filename controls corruption rate.
  • Corruption is permanent and unrecoverable from the file alone.
  • It is not encryption, DRM, or secure deletion; backups defeat it.

Introduction to Decayfmt

Decayfmt is a novel file format that introduces intentional, progressive data corruption each time a file is accessed. This mechanism is featured in This Week in Rust #660 and applies to both image (.idcy<x>) and text (.tdcy<x>) files. The corruption is permanent and irreversible from the file itself, meaning each read further damages the stored data.

The Instability Parameter

The degree of corruption per open is controlled by an 'instability parameter' denoted by 'x', which is a positive integer embedded in the filename. A higher 'x' value results in more significant corruption with each opening. For instance, an image with x=3 degrades gracefully over many opens, while x=10 can render it nearly unusable after a single open and pure noise after three.

Text and Image Degradation

Both image and text files exhibit this decay. Images progressively lose visual integrity, while text files garble into readable-looking nonsense, as corruption only swaps in printable characters. This ensures that the corrupted text remains somewhat legible, albeit nonsensical, rather than becoming binary noise.

Purpose and Limitations

Decayfmt is described as a "social contract enforced by math," not a security tool. It is explicitly stated not to be encryption, DRM, or a secure deletion utility. While corruption is honest and unrecoverable from the file itself, anyone with a backup or a hex editor can bypass the intended decay. The format emphasizes that if the original is desired, a backup must be maintained, and if non-recovery is the goal, no backup should be made.

Installation

Users with a Rust toolchain can install decayfmt via `cargo install decayfmt`. Alternatively, binaries are available for download from the releases page and can be added to the system's PATH. On macOS, unsigned binaries may require a right-click 'Open' workaround due to Gatekeeper.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~21 min · 18 stories · Aug 21

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Decayfmt is a new file format that intentionally corrupts its own data every time a file is opened, with the degree of corruption determined by an "instability parameter" in the filename. This format is designed as a social contract, not for security, and offers no recovery from the file itself.