Skip to content

EntropyEngine::Core::IO::PackageHeader

Package file header (64 bytes, fixed size). More…

#include <PackageFormat.h>

Name
boolisEncrypted() const
boolhasValidMagic() const
Name
uint32_tversion
uint8_t[4]reserved
uint64_tmanifestSize
uint64_tmanifestOffset
char[4]magic
uint8_t[32]keyId
uint32_tflags
struct EntropyEngine::Core::IO::PackageHeader;

Package file header (64 bytes, fixed size).

Layout: [0-3] magic “EPAK” [4-7] version Format version (1) [8-11] flags Feature flags (see PackageFlags) [12-43] keyId SHA-256(symmetricKey) for key identification, zeros if unencrypted [44-51] manifestOffset Absolute byte offset to manifest blob [52-59] manifestSize Size of manifest blob (including nonce/tag if encrypted) [60-63] reserved Reserved for future use

All multi-byte integers are little-endian.

inline bool isEncrypted() const
inline bool hasValidMagic() const
uint32_t version;
uint8_t[4] reserved;
uint64_t manifestSize;
uint64_t manifestOffset;
char[4] magic;
uint8_t[32] keyId;
uint32_t flags;

Updated on 2026-01-26 at 17:14:35 -0500