separate nonce for filenames

This commit is contained in:
2025-11-04 19:28:38 +01:00
parent 5e2c324bc4
commit c5c347e832
5 changed files with 24 additions and 31 deletions

View File

@@ -13,8 +13,7 @@ struct FileHeader {
std::string name;
u64 name_ciphertext_size;
u64 content_size;
std::vector<u8> nonce;
u64 global_offset;
std::vector<u8> content_nonce;
};
class Vault {