add class for constants related to the file format

This commit is contained in:
2025-11-23 18:13:31 +03:00
parent 3cf31a6e6b
commit 355f7d562d

View File

@@ -0,0 +1,11 @@
namespace KeyKeeper.PasswordStore;
static class FileFormatConstants
{
public const int MIN_MASTER_SALT_LEN = 8;
public const int MAX_MASTER_SALT_LEN = 40;
public const int MIN_AESKDF_ROUNDS = 10;
public const int MAX_AESKDF_ROUNDS = 65536;
public const byte ENCRYPT_ALGO_AES = 14;
public const byte KDF_TYPE_AESKDF = 195;
}