Made the nonce size a bit smaller for CCM mode to avoid some issues with large nonces

This commit is contained in:
David Sparer
2016-10-10 15:08:10 -06:00
parent cbb9ceb709
commit d522258e0a

View File

@@ -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)