Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/KeePass2.h')
-rw-r--r--src/format/KeePass2.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/format/KeePass2.h b/src/format/KeePass2.h
index 0785a4eac..ecf7921b1 100644
--- a/src/format/KeePass2.h
+++ b/src/format/KeePass2.h
@@ -20,6 +20,8 @@
#include <QtCore/QtGlobal>
+#include "core/Uuid.h"
+
namespace KeePass2
{
const quint32 SIGNATURE_1 = 0x9AA2D903;
@@ -27,6 +29,10 @@ namespace KeePass2
const quint32 FILE_VERSION = 0x00020000;
const quint32 FILE_VERSION_CRITICAL_MASK = 0xFFFF0000;
+ const QSysInfo::Endian BYTEORDER = QSysInfo::LittleEndian;
+
+ const Uuid CIPHER_AES = Uuid(QByteArray::fromHex("31c1f2e6bf714350be5805216afc5aff"));
+
enum HeaderFieldID
{
EndOfHeader = 0,
@@ -41,13 +47,6 @@ namespace KeePass2
StreamStartBytes = 9,
InnerRandomStreamID = 10
};
-
- enum CompressionAlgorithm
- {
- CompressionNone = 0,
- CompressionGZip = 1,
- CompressionCount = 2
- };
}
#endif // KEEPASSX_KEEPASS2_H