mirror of
https://github.com/KeyKeeperApp/KeyKeeper.git
synced 2026-04-19 02:56:28 +03:00
add a constant for the HMAC-SHA3-512 size
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace KeyKeeper.PasswordStore;
|
||||
|
||||
static class FileFormatConstants
|
||||
@@ -8,4 +10,5 @@ static class FileFormatConstants
|
||||
public const int MAX_AESKDF_ROUNDS = 65536;
|
||||
public const byte ENCRYPT_ALGO_AES = 14;
|
||||
public const byte KDF_TYPE_AESKDF = 195;
|
||||
public const int HMAC_SIZE = HMACSHA3_512.HashSizeInBytes;
|
||||
}
|
||||
Reference in New Issue
Block a user