mirror of
https://github.com/KeyKeeperApp/KeyKeeper.git
synced 2026-04-25 00:46:28 +03:00
add class for constants related to the file format
This commit is contained in:
11
src/KeyKeeper/PasswordStore/FileFormatConstants.cs
Normal file
11
src/KeyKeeper/PasswordStore/FileFormatConstants.cs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user