Hacker News new | ask | show | jobs
Making of SARE: How I Designed a File Format for Encrypted Data From Scratch (zola.ink)
3 points by znano 309 days ago
1 comments

For the header you need to add a sort of MAC system to authenticate the metadata and the header
Yeah thanks for the suggestion, i guess i can allocate a few bytes at the end of the header for the MAC so it would prevent tweaking the metadata.