mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Made the nonce size a bit smaller for CCM mode to avoid some issues with large nonces
This commit is contained in:
@@ -70,7 +70,7 @@ namespace mRemoteNG.Security.SymmetricEncryption
|
||||
{
|
||||
var ccm = _aeadBlockCipher as CcmBlockCipher;
|
||||
if (ccm != null)
|
||||
NonceBitSize = 104;
|
||||
NonceBitSize = 88;
|
||||
}
|
||||
|
||||
public string Encrypt(string plainText, SecureString encryptionKey)
|
||||
|
||||
Reference in New Issue
Block a user