KeePass   KeePass Help Center Home KeePass Home | Package Downloads | Flag Translations | Blocks Plugins  
Home Help Center Home | People Forums | Award Awards | Search Search  






Donate Donate

PW_DBHEADER Struct Reference

Database header structure. All KeePass KDB files begin with this structure. More...

#include <PwStructs.h>

List of all members.


Public Attributes

DWORD dwSignature1
 File identifier word, set to PWM_DBSIG_1.
DWORD dwSignature2
 File identifier word, set to PWM_DBSIG_2.
DWORD dwFlags
DWORD dwVersion
BYTE aMasterSeed [16]
 Seed that gets hashed with the user key to form the final key.
UINT8 aEncryptionIV [16]
 IV used for content encryption.
DWORD dwGroups
 Number of groups in the database.
DWORD dwEntries
 Number of entries in the database.
BYTE aContentsHash [32]
 SHA-256 hash of the database, used for integrity checking.
BYTE aMasterSeed2 [32]
 Seed used for the dwKeyEncRounds AES transformations.
DWORD dwKeyEncRounds
 Number of master key transformations.

Detailed Description

Database header structure. All KeePass KDB files begin with this structure.

Member Data Documentation

SHA-256 hash of the database, used for integrity checking.

IV used for content encryption.

Seed that gets hashed with the user key to form the final key.

Seed used for the dwKeyEncRounds AES transformations.

Number of entries in the database.

Number of groups in the database.

Number of master key transformations.

File identifier word, set to PWM_DBSIG_1.

File identifier word, set to PWM_DBSIG_2.


The documentation for this struct was generated from the following file:



Documentation generated with Doxygen.




Valid XHTML 1.0 Transitional Document

Get KeePass

Flattr this


KeePass is OSI Certified Open Source Software
Copyright © 2003-2012
Dominik Reichl, [Legal Contact / Imprint] [Disclaimer] [Acknowledgements] [Donate], Downloads hosted at

Get KeePass Password Safe at
SourceForge.net. Fast, secure and Free Open Source software downloads