diff --git a/src/KeyKeeper/PasswordStore/FileFormatConstants.cs b/src/KeyKeeper/PasswordStore/FileFormatConstants.cs new file mode 100644 index 0000000..e76ebe2 --- /dev/null +++ b/src/KeyKeeper/PasswordStore/FileFormatConstants.cs @@ -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; +} \ No newline at end of file