OK, the header now looks like this:
----------------------------------------------------
struct Entangle_Header { 
        char salt[64];
        ............. /*More if needed*/
        /* ----- Format ----- */ 
        uint16_t prog_version;       /* Header format version */
        uint64_t file_size;   /* size of original file */ 
        byte keys[32]; /* AES-256 key storage area */
        ............. /*More data for GCM if needed*/
} 
----------------------------------------------------
And what about encrypting the header with AES-128/GCM and the very file with 
AES-256/GCM? That seems to be quite secure for the file and simple for the user 
(16 char key).

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to