encrypt files

This commit is contained in:
2025-11-03 12:12:43 +01:00
parent cf1ac6d556
commit 5d9850a781
7 changed files with 66 additions and 24 deletions

View File

@@ -11,6 +11,7 @@ constexpr u64 AFTER_HEADER_OFFSET = 6;
struct FileHeader {
std::string name;
u64 size;
std::vector<u8> nonce;
u64 offset;
};