Making of SARE: How I Designed a File Format for Encrypted Data

335 · Zola Gonano · Aug. 7, 2025, 3:35 p.m.
Summary
This blog post details the author's process of designing a custom binary file format for the SARE (Secure and Resilient Encryption) project. The format was developed to effectively store encrypted data while ensuring future-proofing, minimal complexity, and interoperability. The post outlines the structure of the file header, the choice of using BSON for metadata, and the encoding/decoding processes, all aimed at creating a simple yet efficient system for encrypted data management.