61constexpr std::array<uint8_t, 16> kKdbxCipherAes = {{0x31, 0xc1, 0xf2, 0xe6, 0xbf, 0x71, 0x43, 0x50,
62 0xbe, 0x58, 0x05, 0x21, 0x6a, 0xfc, 0x5a,
64constexpr std::array<uint8_t, 16> kKdbxCipherChaCha20 = {{0xd6, 0x03, 0x8a, 0x2b, 0x8b, 0x6f, 0x4c,
65 0xb5, 0xa5, 0x24, 0x33, 0x9a, 0x31, 0xdb,
67constexpr std::array<uint8_t, 16> kKdbxCipherTwofish = {{0xad, 0x68, 0xf2, 0x9f, 0x57, 0x6f, 0x4b,
68 0xb9, 0xa3, 0x6a, 0xd4, 0x7a, 0xf9, 0x65,
75constexpr std::array<uint8_t, 16> kKdbxKdfAesKdbx4 = {{0x7c, 0x02, 0xbb, 0x82, 0x79, 0xa7, 0x4a,
76 0xc0, 0x92, 0x7d, 0x11, 0x4a, 0x00, 0x64,
78constexpr std::array<uint8_t, 16> kKdbxKdfAesKdbx3 = {{0xc9, 0xd9, 0xf3, 0x9a, 0x62, 0x8a, 0x44,
79 0x60, 0xbf, 0x74, 0x0d, 0x08, 0xc1, 0x8a,
81constexpr std::array<uint8_t, 16> kKdbxKdfArgon2d = {{0xef, 0x63, 0x6d, 0xdf, 0x8c, 0x29, 0x44,
82 0x4b, 0x91, 0xf7, 0xa9, 0xa4, 0x03, 0xe3,
84constexpr std::array<uint8_t, 16> kKdbxKdfArgon2id = {{0x9e, 0x29, 0x8b, 0x19, 0x56, 0xdb, 0x47,
85 0x73, 0xb2, 0x3d, 0xfc, 0x3e, 0xc6, 0xf0,
94 {0xe8, 0x30, 0x09, 0x4b, 0x97, 0x20, 0x5d, 0x2a}};
constexpr uint32_t kKdbxVersion4_1
KDBX 4.1 critical version.
Definition constants.hh:53
constexpr std::array< uint8_t, 8 > kKdbxInnerRandomStreamInitVec
Fixed Salsa20 IV used by the KDBX inner random stream.
Definition constants.hh:93
constexpr uint32_t kKdbxVersion4
KDBX 4.0 critical version.
Definition constants.hh:51
constexpr uint32_t kKdbxSignature1
Second signature word identifying a KDBX database.
Definition constants.hh:44
constexpr uint32_t kKdbSignature1
Second signature word identifying a legacy KDB database.
Definition constants.hh:40
constexpr uint32_t kKdbxSignature0
First signature word of a KDBX database (same as KDB).
Definition constants.hh:42
constexpr uint32_t kKdbSignature0
First signature word shared by KDB and KDBX.
Definition constants.hh:38
constexpr uint32_t kMaxOuterHeaderFieldSize
Upper bound for a single outer KDBX header field (1 MiB).
Definition constants.hh:97
constexpr uint32_t kKdbxVersion3
Lowest KDBX 3 version accepted/written.
Definition constants.hh:47
constexpr uint32_t kKdbxVersionCriticalMask
Mask selecting the critical (major) part of a KDBX version field.
Definition constants.hh:55
constexpr uint32_t kKdbxVersionCriticalMin
Lowest KDBX 3 critical version (3.1).
Definition constants.hh:49