1.01 pre1:
added preferences to switch encryption+kdf and to edit kdf parameters (for AES and Argon2)
This commit is contained in:
@@ -46,7 +46,6 @@ namespace KeePassLib.Cryptography.Cipher
|
||||
cp = new CipherPool();
|
||||
cp.AddCipher(new StandardAesEngine());
|
||||
cp.AddCipher(new ChaCha20Engine());
|
||||
|
||||
m_poolGlobal = cp;
|
||||
}
|
||||
|
||||
@@ -161,5 +160,12 @@ namespace KeePassLib.Cryptography.Cipher
|
||||
return m_vCiphers[nIndex];
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<ICipherEngine> Engines
|
||||
{
|
||||
get {
|
||||
return m_vCiphers;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -122,6 +122,7 @@ namespace KeePassLib.Cryptography.KeyDerivation
|
||||
// Try to use the native library first
|
||||
if (NativeLib.TransformKey256(pbNewKey, pbKeySeed32, uNumRounds))
|
||||
{
|
||||
//no need to hash, this is already done in the native library.
|
||||
byte[] pbKey = new byte[32];
|
||||
Array.Copy(pbNewKey, pbKey, pbNewKey.Length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user